Error validating server certificate in SourceTree

Hi! Firt of all to thank you for this great and useful app.

Yesterday my svn provider renewed their certificates, so sourcetree is giving me this error every time I try to fetch, pull or push changes:

Error validating server certificate for 'https://tonkalabs.svn.codebasehq.com:443':

- The certificate is not issued by a trusted authority. Use the

fingerprint to validate the certificate manually!

Certificate information:

.....

Server certificate verification failed: issuer is not trusted (https://myproviderurl...) at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 2693

What can I do to force SourceTree to accept the new certificate?

Thank you very much in advance!

Ricardo

1 answer

1 accepted

Hmm, SourceTree usually prompts to accept the certificate - to reproduce this I basically deleted all my Subversion configuration (in ~/.subversion) and removed all entries in my Keychain for a self-signed server that I have, then tried cloning from it, I got this: https://skitch.com/sjstreeting/8m74i/sourcetree . Clicking 'Accept' added an entry to my ~/.subversion/auth/svn.ssl.server folder and from then on the server was trusted.

If that's not working for you, you could try doing 'svn info your_url' on the command-line and accepting the cert there just to be sure.

Hi Steve!

Thanks for your repply! I'm going to try what you say.

Cheers!

Hi Steve!

It worked!

Thanks again!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you