当前位置:   article > 正文

服务器证书验证失败。CAfile:/etc/ssl/certs/ca-certificates_error: unable to check file "/etc/ssl/certs/my_ca.

error: unable to check file "/etc/ssl/certs/my_ca.crt": no such file or dire

我使用https克隆项目时,它不起作用。

显示我的错误消息是:

server certificate verification failed. CAfile: /etc/ssl/certs/cacertificates.crt CRLfile: none

unable to get local issuer certificate

解答:

打开终端并运行以下命令:

export GIT_SSL_NO_VERIFY=1

git config --global http.sslVerify false

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/507909
推荐阅读
相关标签
  

闽ICP备14008679号