【问题标题】:Having trouble pushing to github, issue with openssl推送到 github 时遇到问题,openssl 有问题
【发布时间】:2018-10-14 01:46:16
【问题描述】:

您好,我无法推送到 git hub。

我的 git 版本是 2.17。

当我做sudo git push -u origin master

我收到fatal: unable to access 'https://github.com/rielt12/Project.git/': OpenSSL was built without TLS 1.2 support

我尝试将 openssl 更新到 1.0.2j。这个问题我该怎么办?

【问题讨论】:

  • 你的 openssl 安装是你的发行版提供的,还是你手动安装的?
  • 它是freebsd,所以我做了pkg install openssl。所以回答:由分发提供
  • 你为什么要运行gitsudo?您完全确定 root 的 $PATH 上的 git 是 2.17 版吗? (它可能与您的普通用户 $PATH 上的不同。
  • 没有 sudo 的结果相同
  • 在这种情况下,我相信您必须使用端口来编译 git,才能将其与端口中的 OpenSSL 链接。 pkg remove git && cd /usr/ports/devel/git && make install clean

标签: git github openssl freebsd


【解决方案1】:

git 对 https URL 的支持来自 curl。因此,必须为包或 git 端口启用 CURL,并且您的 curl 安装必须使用来自端口的 OpenSSL 构建。

【讨论】:

    猜你喜欢
    • 2020-02-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-18
    • 2011-11-18
    • 2016-03-19
    • 1970-01-01
    • 2017-12-06
    相关资源
    最近更新 更多