原文链接:https://www.code404.icu/561.html
当使用命令 git pull 出现错误信息如下:
server certificate verification failed. CAfile: none CRLfile: none
解决方案:
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:
export GIT_SSL_NO_VERIFY=1
本文解决了使用Git通过HTTPS方式克隆仓库时遇到的证书验证失败的问题。提供了两种方法禁用证书验证,一种是通过配置文件设置,另一种是临时禁用验证。

2153

被折叠的 条评论
为什么被折叠?



