git (v2.18.0) error setting certificate
git pull时提示:
fatal: unable to access 'https://xxx/xxx/xxx.git/': error setting certificate verify locations: CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none
通过搜索发现ca-bundle.crt真是的目录是
C:/soft/Git/mingw64/ssl/certs/ca-bundle.crt
因此需要修改gitconfig的文件
C:\soft\Git\mingw64\etc\gitconfig
最终将sslCAInfo修改成ca-bundle.crt的位置后, git pull 成功
[http] sslCAInfo = C:/soft/Git/mingw64/ssl/certs/ca-bundle.crt sslBackend = openssl [diff "astextplain"] textconv = astextplain [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true [credential] helper = manager
相关推荐
formula 2020-11-12
huhongfei 2020-11-05
乾坤一碼農 2020-10-27
liumengyanysu 2020-10-22
E哥的aws认证攻略 2020-10-15
tianyafengxin 2020-10-08
guying 2020-10-05
好脑筋不如烂笔头 2020-09-17
nebulali 2020-09-11
佛系程序员J 2020-09-15
fenggit 2020-09-15
JustHaveTry 2020-09-11
兄dei努力赚钱吧 2020-09-06
IngeniousIT 2020-08-25
liumengyanysu 2020-08-17
guying 2020-08-16