Importing SSL certificates into svnX

I just wanted to connect to my subversion repository with svnX via the https protocol. Guess what, svnX did not want to connect because it did not trust my selfsigned certificate. The only way to continue was to dismiss the error message with no way to import the certificate.

Turns out that svnX is using the command line svn client to communicate with repositories. So you need to mark the SSL certificate as trusted in the command line client and then svnX will work automatically. To do that, fire up a terminal window and just list the contents of your repository:

svn list https://whatever.server.com/repository/

Now svn will print a certificate validation error and ask whether you want to dismiss or accept the cerificate. Accept it permanently to get rid of that warning. Now you can access the repository via svnX.

This entry was posted in Coding and tagged , . Bookmark the permalink.

5 Responses to Importing SSL certificates into svnX

  1. Dan says:

    I’m just getting started with Google Code and svnX and this provided the exact answer I was looking for. Thanks so much!

  2. 3stripe says:

    Cheers for the tip!

  3. victorcoder says:

    Very useful, thanks for the tip, it worked like a charm.

    Cheers

  4. Pingback: Week 3: Setup your mac environment :: Mohit Taneja

  5. Soma says:

    I am glad I searched before I tried to setup. You saved me lot of time.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

For spam filtering purposes, please copy the number 2578 to the field below: