git报错,无法clone项目-爱代码爱编程
$ git clone https://gitee.com/renrenio/renren-fast.git
Cloning into 'renren-fast'...
fatal: unable to access 'https://gitee.com/renrenio/renren-fast.git/': error setting certificate verify locations:
CAfile: D:/soft/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none
上面 是报错信息
1.报错信息显示是ca证书文件问题,使用 git config --list 命令显示 http.sslcainfo 的值 设置的证书地址不对
2.使用 git config --global http.sslcainfo "证书路径" 修改证书路径,就可以复制成功了
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接: https://blog.csdn.net/dieorlife/article/details/111089054