git clone报错 server certificate verification failed. CAfile: none CRLfile: none

时间:2025-02-27 07:41:09

原文链接:https:///

当使用命令 git pull 出现错误信息如下:
server certificate verification failed. CAfile: none CRLfile: none
解决方案:

git config --global  false
git config --global  false

git clone报错:“server certificate verification failed. CAfile: /etc/ssl/certs/ CRLfile: none”
I can push by clone project using ssh, but it doesn’t work when I clone project with https. it shows message error as below.

server certificate verification failed. CAfile: /etc/ssl/certs/ CRLfile: none

解决方案:
Open your terminal and run following command:

export GIT_SSL_NO_VERIFY=1