加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – Git Clone失败:服务器证书验证失败

发布时间:2020-12-13 18:59:12 所属栏目:Linux 来源:网络整理
导读:因为这个错误,我无法git克隆任何github repo fatal: unable to access github_url: server certificate verification failed. CAfile: /home/ubuntu/.ssh/rel3_dodroot_2048.crt CRLFile: none 我注意到其他一些人有类似的错误,但在.ssl文件夹中有证书.我从

因为这个错误,我无法git克隆任何github repo

fatal: unable to access ‘github_url’: server certificate verification failed. CAfile: /home/ubuntu/.ssh/rel3_dodroot_2048.crt CRLFile: none

我注意到其他一些人有类似的错误,但在.ssl文件夹中有证书.我从来没有见过任何人在.ssh中的证书有这个问题,我不知道如何解决它.

环境:

> Nvidia Jetson TX1运行Ubuntu 14.04
>感兴趣的特定Github(虽然它发生在所有这些)
> https://github.com/rbgirshick/fast-rcnn.git

最佳答案
好的,我找到了解决方案……
我猜一个脚本(我没看过)在我的计算机上运行了

git config --global http.sslVerify true

所以解决方案只是改变运行

git config --global http.sslVerify false

嘿…

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读