Error validating server certificate for ‘https://...‘

2023-12-14 23:32:24

SVN的情况

由于HTTPS证书不安全或证书信息变化,导致svn报错:

Error validating server certificate for 'https://...':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: ...
 - Valid: from Wed, 01 Sep 2010 08:25:36 GMT until Thu, 06 Oct 2011 08:25:36 GMT
 - Issuer: ...
 - Fingerprint: ...

?解决方法

运行 svn list https://your-svn-url
确认是否接受是选择accept或者permanently

使用git的情况

error: SSL certificate problem: Invalid certificate chain while accessing
    https://githib.com/...git/info/refs?service=git-receive-pack
fatal: HTTP request failed

解决方法

git config --global http.sslVerify false

文章来源:https://blog.csdn.net/SE_JW/article/details/134920521
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。