server certificate verification failed. CAfile: none CRLfile: none

原文: server certificate verification failed. CAfile: none CRLfile: none

当使用命令 git pull 出现错误信息如下:

server certificate verification failed. CAfile: none CRLfile: none

解决方案:

git config --global http.sslverify false
git config --global https.sslverify false