[英]GITLAB SSL certificate problem: unable to get local issuer certificate
我正在尝试在 gitLab 中推送我的第一个项目,但出现此错误“致命:无法访问 'https://.git。:SSL 证书问题:无法获得本地颁发者证书”
最后我在这里找到了解决方案https://newbedev.com/invalid-ssl-certificate-when-pushing-to-git-server
阅读并进行设置后,您应该这样做
git config --system http.sslCAInfo C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt"
在您上传到 gitLab 的项目的根目录中,您应该这样做
git config http.sslCAInfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.