If I use any svn
command communicating with the remote server I get the following error:
Error validating server certificate for \'https://...\':
-
Fix (for Unix):
svn.ssl.server
is on ~/.subversion/auth
Change Owner recursively on ~/.subversion/auth
or delete:
delete - ~/.subversion/auth/svn.ssl.server
owner - chown -R $USER ~/.subversion/auth
Open the command prompt and run svn list https:...
p
.Have Fun !
Search for the folder named "svn.ssl.server" (it exists for windows and *NIX servers) and delete it. You may be asked one more time to save the key but then it should stop asking after that point.
Fix (for Windows):
C:\Users\"USERNAME"\AppData\Roaming\Subversion\auth\svn.ssl.server
svn list https:...
p
.Probably not suitable for all users but is okay for me and worked:
I edited in the ~/.subversion/servers the following line:
[global]
ssl-trust-default-ca = no
to
[global]
ssl-trust-default-ca = yes
chmod -R 775 ~/.subversion/auth
may also be needed.
Doing chmod 644 ~/.subversion/auth/svn.ssl.server/*
is simplest for unix users and is best if you connect to multiple servers.