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

2017-07-12  本文已影响0人  chinariver

今天,去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

这样就可以了

上一篇 下一篇

猜你喜欢

热点阅读