今天,去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
这样就可以了