关注小众语言,记录、分享技术点滴!

0%

git报错 SSL connect error

报错信息:

1
fatal: unable to access 'https://github.com/***/***': SSL connect error

解决办法:

1
git config --global http.sslversion tlsv1

或者

1
git config --global http.sslVerify false   #设置跳过SSL证书验证

如果还不行,可能是ssh版本过低需要升级ssh。执行命令:

1
yum update nss     #redhat  centos