svn can't save server certificate

时间:2023-03-09 17:04:22
svn can't save  server certificate

f I use any svn command communicating with the remote server I get the following error:

Error validating server certificate for 'https://...':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: ...
- Valid: from Wed, 01 Sep 2010 08:25:36 GMT until Thu, 06 Oct 2011 08:25:36 GMT
- Issuer: ...
- Fingerprint: ...
(R)eject, accept (t)emporarily or accept (p)ermanently?

If I hit permanently I can run the command properly. But on the next svn command I get the same question and have to confirm again! Why doesn't svn save my choice permanently? How can I solve this problem?

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.

In windowx :e.g. C:\Documents and Settings\ken\Application Data\Subversion\auth\svn.ssl.server