<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Seán Hayes &#187; apache</title>
	<atom:link href="http://seanhayes.name/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanhayes.name</link>
	<description>Web Developer in Rochester, NY (Django, JavaScript, LAMP)</description>
	<lastBuildDate>Tue, 06 Mar 2012 01:07:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Setting up SSL on Apache</title>
		<link>http://seanhayes.name/2010/07/02/setting-ssl-apache/</link>
		<comments>http://seanhayes.name/2010/07/02/setting-ssl-apache/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 18:21:25 +0000</pubDate>
		<dc:creator>Seán Hayes</dc:creator>
				<category><![CDATA[Web Design & Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://seanhayes.name/?p=187</guid>
		<description><![CDATA[While locally testing Darkroom over HTTPS, Firefox gave me the following error: &#8220;Error code: ssl_error_rx_record_too_long&#8221;. Turns out I&#8217;d never configured the Apache instance on my laptop to use SSL. Once you&#8217;ve got the right information it&#8217;s really quick to fix. &#8230; <a href="http://seanhayes.name/2010/07/02/setting-ssl-apache/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While locally testing Darkroom over HTTPS, Firefox gave me the following error: &#8220;Error code: ssl_error_rx_record_too_long&#8221;. Turns out I&#8217;d never configured the Apache instance on my laptop to use SSL.</p>
<p>Once you&#8217;ve got the right information it&#8217;s really quick to fix. Here&#8217;s 2 links that I found helpful:</p>
<p><a style="font-weight: bold;" href="http://slacksite.com/apache/certificate.php">Generating an SSL Certificate with Apache+mod_ssl</a><br />
Has the commands you need for generating a self signed certificate.</p>
<p>If while generating the certificate you get the error &#8220;unable to write &#8216;random state&#8217;&#8221;, you&#8217;ll need to chown the .rnd file (sudo chown user:group ~/.rnd) and try again.<br />
I put all the generated files in /etc/apache2/ssl/.</p>
<p><a style="font-weight: bold;" href="http://lookit.typepad.com/lookit/2010/04/how-to-get-apache-to-do-both-http-and-https-on-one-ip-address.html">How to get Apache to do both HTTP and HTTPS on one IP address?</a><br />
Shows the basic Apache configuration needed for HTTPS. To get HTTPS working, I just copied my existing virtual host definition, modified it to use the port 443, and added the SSLEngine, SSLCertificateFile, and SSLCertificateKeyFile directives.</p>
<p>Here&#8217;s a copy of my file:<br />
<script src="http://gist.github.com/461702.js?file=website"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://seanhayes.name/2010/07/02/setting-ssl-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

