<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Making SVN trust a new root CA certificate</title>
	<atom:link href="http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/</link>
	<description>The ramblings of a Christian geek</description>
	<pubDate>Thu, 29 Jul 2010 14:09:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kasper</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-40436</link>
		<dc:creator>Kasper</dc:creator>
		<pubDate>Thu, 24 Dec 2009 09:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-40436</guid>
		<description>Hello Robin,

I noticed that you store the converted certificate as &lt;code&gt;/etc/ssl/certs/cacert-root-ca.&lt;b&gt;pem&lt;/b&gt;&lt;/code&gt; while you refer to it as &lt;code&gt;ssl-authority-files = /etc/ssl/certs/cacert-root-ca.&lt;b&gt;crt&lt;/b&gt;&lt;/code&gt; in ~/.subversion/servers.

Is this intentional or an omission?

With kind Regards,
Kasper van den Berg</description>
		<content:encoded><![CDATA[<p>Hello Robin,</p>
<p>I noticed that you store the converted certificate as <code>/etc/ssl/certs/cacert-root-ca.<b>pem</b></code> while you refer to it as <code>ssl-authority-files = /etc/ssl/certs/cacert-root-ca.<b>crt</b></code> in ~/.subversion/servers.</p>
<p>Is this intentional or an omission?</p>
<p>With kind Regards,<br />
Kasper van den Berg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen Fuller</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-38946</link>
		<dc:creator>Allen Fuller</dc:creator>
		<pubDate>Wed, 05 Aug 2009 21:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-38946</guid>
		<description>I tried this; it doesn't work for me.

In my case, I have created my own root certificate (I am serving as my own CA).  Then, I created a server certificate signed by the root CA certificate.  I imported the root CA certificate into Firefox on another client, and it all works beautifully.

But when I tell SVN, via the .subversion/servers file, to trust my root CA certificate as a certificate authority, it still says my server's certificate is not issued by a trusted authority!

Any clues as to what is going on?</description>
		<content:encoded><![CDATA[<p>I tried this; it doesn&#8217;t work for me.</p>
<p>In my case, I have created my own root certificate (I am serving as my own CA).  Then, I created a server certificate signed by the root CA certificate.  I imported the root CA certificate into Firefox on another client, and it all works beautifully.</p>
<p>But when I tell SVN, via the .subversion/servers file, to trust my root CA certificate as a certificate authority, it still says my server&#8217;s certificate is not issued by a trusted authority!</p>
<p>Any clues as to what is going on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Wetherbee</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-38657</link>
		<dc:creator>Colin Wetherbee</dc:creator>
		<pubDate>Sun, 19 Jul 2009 17:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-38657</guid>
		<description>Thanks for the article!

With respect to verifying the fingerprint of the certificate, I believe your method isn't quite right.  That is, "openssl sha1 foo.crt" will return the hash of the contents of the file, whereas "openssl x509 -noout -in foo.crt -fingerprint" will return the fingerprint of the certificate contained in the file.</description>
		<content:encoded><![CDATA[<p>Thanks for the article!</p>
<p>With respect to verifying the fingerprint of the certificate, I believe your method isn&#8217;t quite right.  That is, &#8220;openssl sha1 foo.crt&#8221; will return the hash of the contents of the file, whereas &#8220;openssl x509 -noout -in foo.crt -fingerprint&#8221; will return the fingerprint of the certificate contained in the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Revillini</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-34088</link>
		<dc:creator>James Revillini</dc:creator>
		<pubDate>Thu, 26 Mar 2009 23:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-34088</guid>
		<description>Per the pingback above, this info is also available on my site, but I've copied it here at Robin's request.

[quote from james.revillini.com]

This is in response to Making SVN trust a new root CA certificate.  I wanted to write this there, but I can’t send comments due to a site error.

@GEEK: Thanks for starting this discussion. The previous comment is the one that helped me get my post-commit hook working with VisualSVN Server on an XP box. I was writing a hook to update my web directory from the SVN repo on every commit.

@Other contributors: Thanks for adding your comments which lead me to the right solution to properly make my server trust istself!

Just to consolidate the steps:

1. Hit the repo in IE at whatever its address is; e.g. https://server:8443/path/to/svn/
2. It will tell you the cert is untrusted. Click view certificates.
3. click Install certificate…
4. hit Next
5. select Place all certificates in the following store
6. click Browse…
7. select Trusted Root Certificate Authorities
8. hit OK
9. hit Next
10. hit Finish
11. hit Yes, OK, OK, YES!
12. Start&gt;Run&gt;services.msc
13. restart VisualSVN server service 

Now your hooks on that machine should not have any issue updating from itself.

[/quote]</description>
		<content:encoded><![CDATA[<p>Per the pingback above, this info is also available on my site, but I&#8217;ve copied it here at Robin&#8217;s request.</p>
<p>[quote from james.revillini.com]</p>
<p>This is in response to Making SVN trust a new root CA certificate.  I wanted to write this there, but I can’t send comments due to a site error.</p>
<p>@GEEK: Thanks for starting this discussion. The previous comment is the one that helped me get my post-commit hook working with VisualSVN Server on an XP box. I was writing a hook to update my web directory from the SVN repo on every commit.</p>
<p>@Other contributors: Thanks for adding your comments which lead me to the right solution to properly make my server trust istself!</p>
<p>Just to consolidate the steps:</p>
<p>1. Hit the repo in IE at whatever its address is; e.g. <a href="https://server:8443/path/to/svn/" rel="nofollow">https://server:8443/path/to/svn/</a><br />
2. It will tell you the cert is untrusted. Click view certificates.<br />
3. click Install certificate…<br />
4. hit Next<br />
5. select Place all certificates in the following store<br />
6. click Browse…<br />
7. select Trusted Root Certificate Authorities<br />
8. hit OK<br />
9. hit Next<br />
10. hit Finish<br />
11. hit Yes, OK, OK, YES!<br />
12. Start&gt;Run&gt;services.msc<br />
13. restart VisualSVN server service </p>
<p>Now your hooks on that machine should not have any issue updating from itself.</p>
<p>[/quote]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Revillini &#187; Blog Archive &#187; Response to Making SVN trust a new root CA certificate</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-28958</link>
		<dc:creator>James Revillini &#187; Blog Archive &#187; Response to Making SVN trust a new root CA certificate</dc:creator>
		<pubDate>Thu, 19 Feb 2009 18:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-28958</guid>
		<description>[...] This is in response to Making SVN trust a new root CA certificate.  I wanted to write this there, but I can&#8217;t send comments due to a site error. [...]</description>
		<content:encoded><![CDATA[<p>[...] This is in response to Making SVN trust a new root CA certificate.  I wanted to write this there, but I can&#8217;t send comments due to a site error. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norbert Wenzel</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-13579</link>
		<dc:creator>Norbert Wenzel</dc:creator>
		<pubDate>Wed, 13 Aug 2008 10:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-13579</guid>
		<description>Hmm, seems like TSVN 1.5 uses the Windows Trusted Servers. At least it accepted my self-signed cert, which is added to WinXP as trusted certification authority.</description>
		<content:encoded><![CDATA[<p>Hmm, seems like TSVN 1.5 uses the Windows Trusted Servers. At least it accepted my self-signed cert, which is added to WinXP as trusted certification authority.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Davies</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-8534</link>
		<dc:creator>David Davies</dc:creator>
		<pubDate>Fri, 25 Jan 2008 18:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-8534</guid>
		<description>A more elegant approach than what I wrote above is to adapt the original article.

First, you can get a DER-encoded version of the certificate from Internet Explorer.  Just visit the repository in Internet Explorer (https://server/svn) and double-click on the lock icon.  Click on the Details tab and then click the Copy to File button.  Choose the first option, which should be to use the DER encoded binary X.509 format.

Once you have exported this file, you can start at the second-to-last bullet in the original instructions above.  You'll need the openssl executable, but that's not hard to find, and is probably already installed on the server where you're running Apache with Subversion.

On Windows, the "servers" file mentioned in the last bullet is located at %ALLUSERSPROFILE%\Application Data\Subversion if you want it to work for all users on the system.  (If you only want the certificate to be installed for a particular user, you can modify the "servers" file at a parallel location in that user's profile.)

I found that using quotes in the path for my ssl-authority-files did not work, so you may want to omit them.</description>
		<content:encoded><![CDATA[<p>A more elegant approach than what I wrote above is to adapt the original article.</p>
<p>First, you can get a DER-encoded version of the certificate from Internet Explorer.  Just visit the repository in Internet Explorer (https://server/svn) and double-click on the lock icon.  Click on the Details tab and then click the Copy to File button.  Choose the first option, which should be to use the DER encoded binary X.509 format.</p>
<p>Once you have exported this file, you can start at the second-to-last bullet in the original instructions above.  You&#8217;ll need the openssl executable, but that&#8217;s not hard to find, and is probably already installed on the server where you&#8217;re running Apache with Subversion.</p>
<p>On Windows, the &#8220;servers&#8221; file mentioned in the last bullet is located at %ALLUSERSPROFILE%\Application Data\Subversion if you want it to work for all users on the system.  (If you only want the certificate to be installed for a particular user, you can modify the &#8220;servers&#8221; file at a parallel location in that user&#8217;s profile.)</p>
<p>I found that using quotes in the path for my ssl-authority-files did not work, so you may want to omit them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Davies</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-8510</link>
		<dc:creator>David Davies</dc:creator>
		<pubDate>Thu, 24 Jan 2008 20:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-8510</guid>
		<description>On Windows, the SSL certificates are stored in the following directory:

%USERPROFILE%\Application Data\Subversion\auth\svn.ssl.server

When you accept the certificate on one machine, a file is created a file in this folder.  That file contains the necessary key.  Copy that file to the corresponding directories for other profiles (and on other systems), and Subversion and TortoiseSVN will already trust the certificate.</description>
		<content:encoded><![CDATA[<p>On Windows, the SSL certificates are stored in the following directory:</p>
<p>%USERPROFILE%\Application Data\Subversion\auth\svn.ssl.server</p>
<p>When you accept the certificate on one machine, a file is created a file in this folder.  That file contains the necessary key.  Copy that file to the corresponding directories for other profiles (and on other systems), and Subversion and TortoiseSVN will already trust the certificate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin Munn</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-3211</link>
		<dc:creator>Robin Munn</dc:creator>
		<pubDate>Mon, 09 Apr 2007 00:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-3211</guid>
		<description>&lt;a href="http://groups.google.com/group/comp.security.misc/browse_frm/thread/9608242f85f2fc8c/5ad8584abf9abdb6?lnk=gst&amp;q=crt+cer&amp;rnum=1#5ad8584abf9abdb6" rel="nofollow"&gt;This thread&lt;/a&gt; from the comp.security.misc newsgroup says that .crt is the ASCII-encoded form of .cer -- so I think the instructions would be pretty much unchanged for a .cer file. I see no options to the "openssl x509" command that would tell it to expect a text-encoded and/or binary file, so I'm guessing it works with both.

Let me know if you try it out and something doesn't work.</description>
		<content:encoded><![CDATA[<p><a href="http://groups.google.com/group/comp.security.misc/browse_frm/thread/9608242f85f2fc8c/5ad8584abf9abdb6?lnk=gst&#038;q=crt+cer&#038;rnum=1#5ad8584abf9abdb6" rel="nofollow">This thread</a> from the comp.security.misc newsgroup says that .crt is the ASCII-encoded form of .cer &#8212; so I think the instructions would be pretty much unchanged for a .cer file. I see no options to the &#8220;openssl x509&#8243; command that would tell it to expect a text-encoded and/or binary file, so I&#8217;m guessing it works with both.</p>
<p>Let me know if you try it out and something doesn&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Little</title>
		<link>http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/comment-page-1/#comment-3189</link>
		<dc:creator>Ben Little</dc:creator>
		<pubDate>Fri, 06 Apr 2007 17:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/#comment-3189</guid>
		<description>Hi there,

CaCert.org no longer has a crt file available, they have a cer file.  Can I perform this same process with the .cer file?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>CaCert.org no longer has a crt file available, they have a cer file.  Can I perform this same process with the .cer file?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
