Centos 6 或者 7 git访问https失败

By | 2019 年 10 月 29 日

git clone的时候,发生如下报错

fatal: unable to access 'https://github.com/...': Peer reports incompatible or unsupported protocol version.

有人说这么解决

git config --global credential.helper store

或者

git config --global http.sslVerify false

事实上应该升级如下库:yum update -y nss curl libcurl

发表回复

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据