项目场景:ca-bundle.crt CApath: none
新电脑上拉取gitee仓库上的项目报错,找不到这个证书,然后查看了下这个证书的位置D:\soft\Git\mingw64\ss\ca-bundle.crt CApath: nonel
发现根本没有这个文件。百度了一圈发现,这个文件I再D:\soft\Git\mingw64\etc\ssl\certs\ca-bundle.crt CApath
这里,好无语。
解决方案
①通过命令把指定证书位置改成这个D:\soft\Git\mingw64\etc\ssl\certs\ca-bundle.crt CApath
②直接把D:\soft\Git\mingw64\etc\ssl\certs\ca-bundle.crt CApath
的ca-bundle.crt文件复制到默认目录D:\soft\Git\mingw64\ss\ca-bundle.crt
中。