目录

问题

使用git时遇到的问题。

error setting certificate verify locations:
CAfile: F:/gitt/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none

解决

找到ca-bundle.crt的安装目录

原因就是这个目录配置错了,

$ git config --system http.sslcainfo "D:\git\Git\mingw64\ssl\certs\ca-bundle.crt"