<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>SubVersion</title>
        <link>http://geekswithblogs.net/jlt56789/category/5958.aspx</link>
        <description>SubVersion</description>
        <language>en-US</language>
        <copyright>Josh Tenenbaum</copyright>
        <managingEditor>josh-blog@sunset-solutions.net</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Configuring SSL on Apache win32 -- The missing step</title>
            <link>http://geekswithblogs.net/jlt56789/archive/2006/05/12/78013.aspx</link>
            <description>&lt;p&gt;I run SVN on Apache on an old server to use for synchronizing my files.  I have wanted to be able to sync outside of the house, but I was afraid to not have it over SSL.  I looked at configuring SSL on Apache and I just didn't have the time.  I was lucky to find a few minutes the other day.  But, I kept getting hung up at the end when I tried to start the service automatically.  So, here is what I did...&lt;/p&gt;

&lt;p&gt;You can get these files from &lt;a href="http://hunter.campbus.com/"&gt;http://hunter.campbus.com/&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;copy mod_ssl.so to C:\Program Files\Apache Group\Apache2\modules&lt;/li&gt;
&lt;li&gt;copy openssl.exe to C:\Program Files\Apache Group\Apache2\bin&lt;/li&gt;
&lt;li&gt;copy ssleay32.dll and libeay32.dll to c:\windows\system32&lt;/li&gt;
&lt;/ol&gt;
&lt;/p&gt;

&lt;p&gt;place this file in the conf directory (can be deleted later) &lt;a href="http://tud.at/programm/openssl.cnf"&gt;http://tud.at/programm/openssl.cnf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;from a command prompt in the apache bin directory
&lt;br/&gt;

&lt;ol&gt;
&lt;li&gt;openssl req -config ../conf/openssl.cnf -new -out my-server.csr&lt;/li&gt;
&lt;li&gt;openssl rsa -in privkey.pem -out my-server.key&lt;/li&gt;
&lt;li&gt;openssl x509 -in my-server.csr -out my-server.cert -req -signkey my-server.key -days 1024&lt;/li&gt;
&lt;li&gt;del .rnd&lt;/li&gt;
&lt;li&gt;create ../conf/ssl&lt;/li&gt;
&lt;li&gt;copy my-server.cert and my-server.key to conf/ssl&lt;/li&gt;
&lt;/ol&gt;
&lt;/p&gt;

&lt;p&gt;You can get the ssl.conf file from &lt;a href="http://raibledesigns.com/wiki/Wiki.jsp?page=ApacheSSL"&gt;http://raibledesigns.com/wiki/Wiki.jsp?page=ApacheSSL&lt;/a&gt;
&lt;br/&gt;
&lt;ol&gt;
&lt;li&gt;copy ssl.conf to conf&lt;/li&gt;
&lt;li&gt;Edit the httpd.conf and uncomment the line "LoadModule ssl_module modules/mod_ssl.so"&lt;/li&gt;

&lt;br/&gt;
&lt;br/&gt;

This is the part that left me confused for the better part of an hour...
&lt;li&gt;Run Regedit&lt;/li&gt;
&lt;li&gt; Browse to HKLM/System/CurrentControlSet/Services/Apache/Apache2/Parameters&lt;/li&gt;
&lt;li&gt;Open ConfigArgs&lt;/li&gt;
&lt;li&gt;It should have the following information in it...&lt;/li&gt;

&lt;/p&gt;

&lt;pre&gt;
-f
C:\Program Files\Apache Group\Apache2\conf\httpd.conf
-d
C:\Program Files\Apache Group\Apache2\.
-D
SSL
&lt;/pre&gt;

&lt;li&gt;You can validate by running the apache process from the command line, but always add the -D SSL.&lt;/li&gt;


&lt;/p&gt; &lt;img src="http://geekswithblogs.net/jlt56789/aggbug/78013.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Josh Tenenbaum</dc:creator>
            <guid>http://geekswithblogs.net/jlt56789/archive/2006/05/12/78013.aspx</guid>
            <pubDate>Fri, 12 May 2006 10:42:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/jlt56789/comments/78013.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/jlt56789/archive/2006/05/12/78013.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/jlt56789/comments/commentRss/78013.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/jlt56789/services/trackbacks/78013.aspx</trackback:ping>
        </item>
    </channel>
</rss>
