报错:error setting certificate verify locations: CAfile: D:/Git/anz/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none


github上传自己的代码报错

fatal: unable to access 'https://github.com/wenm1128/auto.git/': error setting certificate verify locations:
CAfile: D:/Git/anz/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none

 

 

 

解决:

输入:git config --system http.sslverify false命令

 

 

 

另一种解决方法:

先打开git bash窗口 
执行命令:

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

//引号中的内容根据报错提示中的文件名和路径来改成自己的

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM