Skip to main content

Error validating server certificate / The certificate is not issued by a trusted authority

I was able to use SVN with ease (checkin, checkout, update code) until recently the SVN server went through some changes. I started to see the following on each SVN command:

Error validating server certificate for 'https://svn.myserver.com:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: de-v-svn
 - Valid: from ...
 - Issuer: I...
 - Fingerprint: ...
(R)eject, accept (t)emporarily or accept (p)ermanently?


It worked fine when I selected  (p)ermanently but had to do it again next time I used  SVN command.

Solution:
Delete ~/.subversion folder.
svn cleanup
svn up

Comments

Popular posts from this blog

Autoboxing example

You can’t put a primitive value into a collection since collections can only hold object references. To do so, you need to box primitive values into the appropriate wrapper class. When retriving, you get an object out of the collection and you need to unbox the it. Java 5 provides autoboxing and unboxing feature that eliminates the pain. import java.util.ArrayList; public class Autoboxing { public static void main ( String [] args ) { ArrayList list = new ArrayList () ; for ( int i = 0 ; i < 10 ; i++ ){ list.add ( i ) ; } int sum = 0 ; for ( Integer j : list ){ sum += j; } System.out.printf ( "The sum is %d." , sum ) ; } }

SVN red book

I normally use Subclipse plugin for Eclipse for SVN operations. It really makes life easy. I am a novice when it comes to performing svn operations using SVN commands. I found a very useful resource for that: HTML version of SVN red book (for subversion 1.5) Hope you find this useful :)