解决git clone 报错 fatal: unable to access '......': SSL connect error

转载https://blog.slogra.com/
今天在服务器拉代码的时候,居然遇到fatal: unable to access 'https://******@github.com/******/******.git/': SSL connect error的错误,刚开始我还以为是git版本低了,把git的版本给升级到2.14了,居然还有这样的问题,下面是解决办法:
 
1.升级nss版本
yum update nss -y
 
2.将https改为git
git clone git://******@github.com/******/******.git
 
如果以上两种解决方法都无法解决你的问题,那么请再执行:
yum update -y nss curl libcurl
posted @ 2018-05-27 15:47  bioamin  阅读(1471)  评论(0)    收藏  举报