美文网首页
git 删除 http.sslcainfo 配置

git 删除 http.sslcainfo 配置

作者: 雁过留声_泪落无痕 | 来源:发表于2021-08-12 11:51 被阅读0次
  1. git pull 提示证书不存在
fatal: unable to access 'https://github.com/xxx/xxx.git/': error setting certificate verify locations:
  CAfile: www.baidu.com
  CApath: none
  1. git config --list 看到有
http.sslbackend=openssl
http.sslcainfo=D:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
  1. 删除 http.sslcainfo 配置
solution 1:
git config --system --remove-section http

solution 2:
git config --system --unset http.sslcainfo

相关文章

网友评论

      本文标题:git 删除 http.sslcainfo 配置

      本文链接:https://www.haomeiwen.com/subject/pbclbltx.html