美文网首页gitios开发
git SSL certificate problem: una

git SSL certificate problem: una

作者: 前端_逗叔 | 来源:发表于2019-03-14 20:59 被阅读0次

今天用git获取项目的时候提示git SSL certificate problem: unable to get local issuer certificate

这个问题是由于没有配置信任的服务器HTTPS验证。默认,cURL被设为不信任任何CAs,就是说,它不信任任何服务器验证。

只需要执行下面命令就可以解决
git config --global http.sslVerify false

相关文章

网友评论

    本文标题:git SSL certificate problem: una

    本文链接:https://www.haomeiwen.com/subject/jxhhmqtx.html