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

今天,去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 [email protected]

这样就可以了

你可能感兴趣的:(git clone GitHub上项目出现CA证书错误)