加入收藏 | 设为首页 | 会员中心 | 我要投稿 济源站长网 (https://www.0391zz.cn/)- 数据工具、数据仓库、行业智能、CDN、运营!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

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

发布时间:2021-01-10 12:39:44 所属栏目: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

嘿…

(编辑:济源站长网)

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

    热点阅读