Karsten's Blog

March 17, 2011

Fixing subversion problem “Error validating server certificate”

Filed under: Software Development — Tags: , , , — kthoms @ 4:38 AM

I have faced the annoying problem that for unknown reasons I got a security exception when accessing the subversion repository for one of my Google Code projects. This used to work before, but maybe the server has been changed. However, if the certificate is not trusted subversion will ask you whether you trust the certificate and if you want to add this certifacte.

svn info https://svn.codespot.com/a/eclipselabs.org/xtext-utils/subprojects/unittesting/branches
Error validating server certificate for 'https://svn.codespot.com:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: *.googlecode.com
 - Valid: from Wed, 16 Feb 2011 00:27:28 GMT until Thu, 16 Feb 2012 00:37:28 GMT
 - Issuer: Google Inc, US
 - Fingerprint: 34:4b:90:e7:e3:36:81:0d:52:1f:10:c0:4c:98:66:90:4a:9e:05:c9
(R)eject, accept (t)emporarily or accept (p)ermanently?

The problem now is that even if I entered the “p” option the next time I access SVN the same exception occurs again.

My issue was solved now by cleaning the directory “~/.subversion/auth/svn.ssl.server”.

 rm ~/.subversion/auth/svn.ssl.server/*
About these ads


  1. Cool – this is something that makes me really mad about subversion…

    CU Serano

    Comment by Serano — March 17, 2011 @ 6:38 PM

  2. I had the same problem and found your tip. Thankx you saved me some time figuring out why it didn’t work!
    Cheers :)

    Comment by Bruno Neeser — March 20, 2011 @ 9:20 AM

  3. Thanks a ton its work on my mac but don’t know how to make it work for Windows 7 ???

    Comment by Shabeeb Rizvi — May 5, 2011 @ 11:18 PM

  4. I really would think that this is just a permission problem. I guess a:
    chmod 644 ~/.subversion/auth/svn.ssl.server/*
    should also do the trick.

    Nevertheless a really annoying bug.


    Comment by Richard — August 2, 2011 @ 11:25 AM

  5. thanks a lot for this solution ! :)

    Comment by xcodeboy — May 22, 2012 @ 7:46 AM

  6. I used to be more than happy to seek out this internet-site.I wished to thanks in your time for this excellent learn!! I definitely enjoying every little bit of it and I have you bookmarked to take a look at new stuff you blog post.

    Comment by RNA Drops — January 16, 2013 @ 12:19 PM

  7. It worked for me, thanks a lot for this solution !

    Comment by Laloi — January 23, 2013 @ 1:21 PM

  8. Many thanks! You save me a lot of nerves!

    Comment by Michael ZPetrovich — February 25, 2013 @ 11:01 AM

  9. It didnt work… I pasted the command on terminal… and after that I tried again checking out the code… didnt work :(

    Comment by Ankit Tanna — April 5, 2013 @ 10:22 AM

  10. yes it solved my issue too thanks for your tip……. EddyTools (TM) http://www.eddytools.com

    Comment by Team — February 19, 2014 @ 5:37 PM

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Silver is the New Black Theme Blog at WordPress.com.


Get every new post delivered to your Inbox.

Join 375 other followers

%d bloggers like this: