svn Error validating server certificate

后端 未结 8 603
太阳男子
太阳男子 2021-01-30 16:27

If I use any svn command communicating with the remote server I get the following error:

Error validating server certificate for \'https://...\':
 -         


        
相关标签:
8条回答
  • 2021-01-30 17:25

    Solution for SSL Certificate Error Message on SVNX

    For Windows User:

    1. Open the command prompt and run svn list https://Your-Link-Goes-Here/

    2. List item Accept certificate permanently by entering p

    For Mac User:

    1. Open the Terminal and Execute this command svn list https://Your-Link-Goes-Here/
    2. Accept the Certificate Permanently by entering p

    Note: For Mac Users make sure your Certificate is already added in Keychain Access

    Hope this Helps Someone.

    0 讨论(0)
  • 2021-01-30 17:27

    SVN is smart enough to infer that you didn't actually bother verifying that the fingerprint matches.

    Ahem.

    But in all seriousness, https://sourceforge.net/apps/trac/sourceforge/wiki/Subversion#ServerCertificateVerificationFailed notes that you should open the project url in a trusted browser to check you're not being MITM'ed (should work for non-sourceforge too), e.g. you can try checking that you get the same fingerprint through Tor.

    0 讨论(0)
提交回复
热议问题