ssl virfication失败,虽然我已经禁用它

时间:2015-09-16 06:34:34

标签: git

我使用以下命令将sslVerify设置为false,但在尝试克隆远程存储库时仍然出现验证错误:

sudo git config --global http.sslVerfiy false

这是错误:

fatal: unable to access 'xxx': server certificate verification failed.
CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

在升级到ubuntu 14.04之前它已经运行了!

1 个答案:

答案 0 :(得分:1)

通过在克隆命令中添加sslVerify = false来解决问题:

git -c http.sslVerify=false clone xxx

Thanks for this answer