美文网首页
SSL certificate problem: unable

SSL certificate problem: unable

作者: XiaoAM | 来源:发表于2020-06-10 15:20 被阅读0次

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

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

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

作者:前端_逗叔
链接:https://www.jianshu.com/p/103735801a2e
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

相关文章

网友评论

      本文标题:SSL certificate problem: unable

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