git 删除 http.sslcainfo 配置
2021-08-12 本文已影响0人
雁过留声_泪落无痕
- git pull 提示证书不存在
fatal: unable to access 'https://github.com/xxx/xxx.git/': error setting certificate verify locations:
CAfile: www.baidu.com
CApath: none
- git config --list 看到有
http.sslbackend=openssl
http.sslcainfo=D:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
- 删除 http.sslcainfo 配置
solution 1:
git config --system --remove-section http
solution 2:
git config --system --unset http.sslcainfo