git提示error setting certificate verify locations解决办法
sdhongjun 2016-08-07 19:12:51 33105 收藏 15
分类专栏: 系统相关
版权
错误信息
使用TortoiseGit执行pull命令时显示
git.exe pull --progress --no-rebase -v "origin"
fatal: unable to access 'https://github.com/konsumer/arduinoscope.git/': error setting certificate verify locations:
CAfile: D:\Program Files\Git\mingw64/bin/curl-ca-bundle.crt
CApath: none
- 1
- 2
- 3
- 4
- 5
git version 2.9.2.windows.1
解决方法
先打开git bash窗口
执行命令:
git config --system http.sslcainfo "C:\Program Files (x86)\git\bin\curl-ca-bundle.crt"
- 1
(注意修改为正确的文件路径)或
git config --system http.sslverify false
- 1
我使用git config --system http.sslverify false
命令解决问题。