首页 > 其他 > 详细

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

时间:2020-03-04 12:11:53      阅读:104      评论:0      收藏:0      [点我收藏+]

 

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"   

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

技术分享图片

 

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

原文:https://www.cnblogs.com/wenm1128/p/12408465.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!