Unable to check out a SVN over https
Asked by Rogier Slag:

Dear sir/madam,

It seems to be unable to connect to our company's SVN server, located at <https://intranet.in-ventid.nl/svn>

Even though once you try to connect an error message appears, which correctly reads the different main directories in the root of the svn server. It seems the certificate is not accepted, while it is a valid one in Safari.

I entered the certificate code in the \~/.hgrc file (which i had to create), but it still doesn't work.

What should I do to enter this fingerprint. I concerns a OSX 10.8 installation.

The error message is copied below

warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

user:password:warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

user:password:warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

user:password:warning: intranet.in-ventid.nl certificate with fingerprint 67:8c:d3:a1:6b:a5:ce:dd:51:6c:5a:bd:84:da:ca:c4:17:a8:73:9b not verified (check hostfingerprints or web.cacerts config setting)

abort: 'https://intranet.in-ventid.nl/svn/' does not appear to be an hg repository:


Answers:
author: stevestreeting
body: The warnings are actually OK. Mercurial uses a different way of validating self-signed SSL certs, but the warnings are not fatal.

It's fine to enter a SVN URL into the clone dialog in SourceTree. But SourceTree firstly tries to validate the URL using git and hg, before finally checking it with svn. Therefore, the actual error is going to be right at the end of the log, which I think you may have cut off, thinking that the earlier errors were the cause, when in fact these are OK (because indeed, this isn't a hg repository).

However, if you're on OS X 10.8 you will need to do some additional configuration, because Apple removed Subversion and the associated Python bindings with effect from 10.8. You will want to check these KB articles:

<https://confluence.atlassian.com/display/SOURCETREEKB/Hgsubversion+bindings+errors+on+Mountain+Lion>

<https://confluence.atlassian.com/display/SOURCETREEKB/git-svn+problems+on+Mountain+Lion>


author: Harry Chan
body: Hi, it said that 'https://intranet.in-ventid.nl/svn/' does not appear to be an hg repository, meaning it is expecting a Mercurial repository and not SVN. Can you provide more details on the setup/environment and what exactly are you trying to achieve?

comments: author: Rogier Slag
body: It is an actual SVN server, not HG. However i do not seem to be able to enter this information somewhere


author: Harry Chan
body: Can you please explain what you are trying to do in this case? What are you doing with SVN in relation to Atlassian products? Are you integrating this with JIRA, Crowd, Fisheye or?