Hi Team,
I hereby attached a patch to add a question in FAQ section. I am hoping
it helps some end users who encounters this client side 'Error
validating server' issue.
I believe the attached patch and log message is self explanatory. Please
let me know if I have missed something important.
[[[
Added an entry to the FAQ section : For every Subversion operation, I
get "Error validating server certificate" exception though I configure
the SSL certificates correctly in the server.
* subversion/site/publish/faq.html : Added an FAQ entry.
Patch by: Jeyanthan Inbasekaran <jeyanthan{_AT_}collab.net>
]]]
--
Regards,
Jeyanthan
Index: faq.html
===================================================================
--- faq.html (revision 1344429)
+++ faq.html (working copy)
@@ -266,6 +266,8 @@ a <tt>file:</tt> URL?</a></li>
<li><a href="#ssl-error-336032856">When performing Subversion operations
over SSL, I get the error <tt>SSL handshake failed: SSL error code
-1/1/336032856</a></tt>
+<li><a href="#Error-validating-server-certificate">For every Subversion operation, I get <tt>Error
+validating server certificate</tt> exception though I configure the SSL certificates correctly in the server.</a></li>
<li><a href="#where-are-the-files">After importing files to my repository,
I don't see them in the repository directory. Where are they?</a></tt>
</a></li>
@@ -4188,6 +4190,39 @@ See <a href="http://svn.haxx.se/dev/archive-2011-0
</div>
+<div class="h3" id="Error-validating-server-certificate">
+<h3>For every Subversion operation, I get <tt>"Error validating server
+certificate"</tt> exception though I configure the SSL certificates
+correctly in the server. <a class="sectionlink" href="faq.html#Error-validating-server-certificate" title="Link to this section">¶</a>
+</h3>
+<p>This error appears in the
+clients if the certificate issuer is not recognized as 'Trusted'
+by the SVN client and will ask you whether you trust the certificate and if you want to add this certificate.<br />
+</p>
+<p>
+
+</p>
+<pre style="margin-left: 40px;">$ svn info https://mysite.com/svn/repo<br />Error validating server certificate for 'https://mysite.com:443':<br />- The certificate is not issued by a trusted authority. Use the<br />fingerprint to validate the certificate manually!<br />Certificate information:<br />- Hostname: mysite.com<br />- Valid: from Wed, 18 Jan 2012 00:00:00 GMT until Fri, 18 Jan 2013<br />23:59:59 GMT<br />- Issuer: Google Inc, US<br />- Fingerprint:<br />34:4b:90:e7:e3:36:81:0d:53:1f:10:c0:4c:98:66:90:4a:9e:05:c9<br />(R)eject, accept (t)emporarily or accept (p)ermanently?</pre>
+<p>
+</p>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+</p>
+<p>In some cases, even if you accept this by enterinp 'p' option, the
+next time you access SVN, the same exception appears again. There can
+be multiple reasons. The problem may be, that the subversion
+configuration directory, which is normally under your ~/.subversion 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.<br />
+</p>
+<p>This can be solved by cleaning the directory
+â~/.subversion/auth/svn.ssl.serverâ and this gets created automatically
+the next time you access.</p>
+<pre style="margin-left: 40px;">rm ~/.subversion/auth/svn.ssl.server/*</pre>
+</div>
+</div>
+
+
<div class="h3" id="where-are-the-files">
<h3>After importing files to my repository,