<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Source Module and [ SVN | Subversion ] SSL certificate verification</title>
  <link>http://www.activecollab.com/forums/topic/5694/</link>
  <description>Recent posts on topic: Source Module and [ SVN | Subversion ] SSL certificate verification</description>
  <dc:language>en-us</dc:language>
  <pubDate>Thu, 24 May 2012 07:37:36 CDT</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/25360/#post25360</link>
    <guid>http://www.activecollab.com/forums/post/25360/#post25360</guid>
    <title>Post #7 by muhtaufikt</title>
    <dc:creator>muhtaufikt</dc:creator>
    <description><![CDATA[<p>Hi, I just installed a certificate in my server and was having the same problem. We are using a low-cost RapidSSL certificate (verifiied by Equifax), and it seems like the svn client is having problems verifying the certificate.<br />
<br />
Rather than using the (possibly) unsafe method above, you can try to edit the global svn servers file settings and add the root certificate of the problematic certificate to the list of trusted CA's. See <a href="http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authn.sslcerts" target="_blank" rel="nofollow">http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authn.sslcerts</a> for more info on this. <br />
<br />
Here's how I do it in my Ubuntu 8.04 server :<br />
<br />
1. Download the Root Certificate file<br />
<br />
In my case, RapidSSL is signed by Equifax, copy the contents of Equifax Root Certificate file found here : http://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority.cer. Create a new file with vim in my server, say, in /etc/ssl/certs/equifax_root.cer, paste contents and save.<br />
<br />
In your case, you should contact the SVN service provider and ask for the root certificate. For self-signed certificate, you should use your self-generated CA file.<br />
<br />
2. Edit servers configuration file<br />
<br />
In Ubuntu, this file is located at /etc/subversion/servers. Open the file using vim or your favorite text editor, and under [global],  add or uncomment this line :<br />
ssl-authority-files = /etc/ssl/certs/equifax_root.cer (path to root cert, this is a semicolon delimited list)<br />
<br />
3. Try if it works by issuing a svn command from the command line, using the --config-dir option if needed. In my case the --config-dir parameter's value would be /etc/subversion.<br />
<br />
4. Source module in activeCollab can use custom SVN Config Directory Path, set the path to the same path as step 3.<br />
<br />
5. It should be working fine.</p>]]></description>
    <pubDate>Mon, 15 Mar 2010 04:44:52 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/25166/#post25166</link>
    <guid>http://www.activecollab.com/forums/post/25166/#post25166</guid>
    <title>Post #6 by jrobgood</title>
    <dc:creator>jrobgood</dc:creator>
    <description><![CDATA[<p>Alright, here's my workaround in the meantime. This assumes the aC server is running Subversion &gt;= 1.6<br />
<br />
Use at your own risk, I assume no liability as a result of this certificate authentication bypass.<br />
<br />
<br />
<br />
<br />
+++ subversion.class.php<br />
@@ -497,7 +497,7 @@<br />
 <br />
     $executable_path = empty($this-&gt;executable_path) ? '' : with_slash($this-&gt;executable_path);<br />
 <br />
-    $escaped = escapeshellcmd($executable_path.&quot;svn &quot;.$authentication.&quot; &quot;.$this-&gt;config_dir.&quot; $command&quot;).&quot; 2&gt;&amp;1&quot;;<br />
+    $escaped = escapeshellcmd($executable_path.&quot;svn &quot;.$authentication.&quot; &quot;.$this-&gt;config_dir.&quot; $command --trust-server-cert&quot;).&quot; 2&gt;&amp;1&quot;;<br />
     <br />
     exec($escaped, $this-&gt;output);<br />
     $error = $this-&gt;checkResponse($this-&gt;output);<br />
</p>]]></description>
    <pubDate>Sat, 27 Feb 2010 22:38:19 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/25165/#post25165</link>
    <guid>http://www.activecollab.com/forums/post/25165/#post25165</guid>
    <title>Post #5 by jrobgood</title>
    <dc:creator>jrobgood</dc:creator>
    <description><![CDATA[<p>Yes, it's a third-party service (springloops.com) and they require it. Right now I am experimenting with stunnel as a proxy running on localhost and also trying SETUID on the SVN binary to drop it into an interactive account wherein I would have accepted the flawed certificate.</p>]]></description>
    <pubDate>Sat, 27 Feb 2010 20:08:31 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/25102/#post25102</link>
    <guid>http://www.activecollab.com/forums/post/25102/#post25102</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Because activeCollab communicates with SVN command line utility in non interactive mode, you should make sure that your SVN binaries and your repositories communicate without any interruption and request for input. This is pretty much the system requirement and different situations and setups may require different approaches.<br />
<br />
Is HTTPS the only way to communicate with your repository?</p>]]></description>
    <pubDate>Tue, 23 Feb 2010 14:44:08 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/25081/#post25081</link>
    <guid>http://www.activecollab.com/forums/post/25081/#post25081</guid>
    <title>Post #3 by jrobgood</title>
    <dc:creator>jrobgood</dc:creator>
    <description><![CDATA[<p>I wonder if I could use stunnel on the aC server to negotiate the SSL SVN since SVN has deprecated their ignore certificate errors switch?<br />
<br />
Any other thoughts?</p>]]></description>
    <pubDate>Tue, 23 Feb 2010 03:12:24 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/25080/#post25080</link>
    <guid>http://www.activecollab.com/forums/post/25080/#post25080</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>activeCollab uses SVN command line client exclusively, and does not rely on any Apache or PHP modules or extensions.</p>]]></description>
    <pubDate>Tue, 23 Feb 2010 02:13:05 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/25079/#post25079</link>
    <guid>http://www.activecollab.com/forums/post/25079/#post25079</guid>
    <title>Post #1 by jrobgood</title>
    <dc:creator>jrobgood</dc:creator>
    <description><![CDATA[<p>Despite permanently accepting a non-trusted SSL cert from my SVN host via the commandline, aC's Source Module refuses to connect to that repository with a &quot;Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted&quot; message.<br />
<br />
Does this Source module use mod_authz_svn? If so, the apache &lt;--&gt; svn interaction is running with a non-shell account so I cannot interactively allow the certificate this way.<br />
<br />
I cannot disable SSL on my SVN host (it's a third-party service.)</p>]]></description>
    <pubDate>Mon, 22 Feb 2010 19:21:14 CST</pubDate>
  </item>
</channel>
</rss>
