美文网首页
git clone GitHub上项目出现CA证书错误

git clone GitHub上项目出现CA证书错误

作者: chinariver | 来源:发表于2017-07-12 16:00 被阅读0次

今天,去git clone一个项目的时候,提示如下错误:

[root@localhost wwwroot]# git clone https://github.com/e282486518/yii2admin.git

Cloning into 'yii2admin'...

fatal: unable to access 'https://github.com/e282486518/yii2admin.git/': Peer certificate cannot be authenticated with known CA certificates

解决方案是:

ssh -T git@github.com

这样就可以了

相关文章

网友评论

      本文标题:git clone GitHub上项目出现CA证书错误

      本文链接:https://www.haomeiwen.com/subject/djmbhxtx.html