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

2022-05-11 09:03:04 浏览数 (1)

原文链接:https://www.code404.icu/561.html

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

代码语言:javascript复制
git config --global http.sslverify false
git config --global https.sslverify false

git clone报错:“server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt 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/ca-certificates.crt CRLfile: none

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

代码语言:javascript复制
export GIT_SSL_NO_VERIFY=1

0 人点赞