Error validating server certificate for tortoisesvn

Apologies if this is merely an artifact of my ignorance but I don't understand why I am now getting https certificate validation errors with Tortoise SVN 1.7.5 (also 1.7.4, I think) using either the Windows Explorer extension or the command line running 64bit on Windows 7 Professional or 32bit on Windows XP.

error validating server certificate for tortoisesvn-64

Chatfreelist - Error validating server certificate for tortoisesvn

Each time you try some SVN command, you get “Error validating server certificate” problem with subversion.

Then you type your credentials and get to choose if you want to add your certificate permanently.

In some cases, the certificate sent by the server is not a trusted certificate, the client may choose to trust the certificate if the server is target server for sure.

But users may get "Error validating server certificate for 'https://...'" the next time when they try to connect to the same secure server even if they specified "p" the first time when they are prompted to accept the server certificate.

Many Open SSL installations also have a pre-defined set of “default” CAs that are nearly universally trusted.

To make the Subversion client automatically trust these standard authorities, set the ssl-trust-default-ca variable to true.

You say “yes”, but next time get the same silly question. The problem may be, that the subversion configuration directory, which is normally under your has WRONG permissions, so that each time you want to permanently add the credentials, svn actually cannot do so, and also doesn’t inform you that it can’t.

That situation can occur if subversion command is triggered by some process.

As @runlevel6 said, you have to accept the certificate with the same user running the hook.

Tags: , ,