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

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

猜你喜欢

转载自blog.csdn.net/SE_JW/article/details/134920521