<?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>onvox.net &#187; SSL</title>
	<atom:link href="http://onvox.net/tag/ssl/feed" rel="self" type="application/rss+xml" />
	<link>http://onvox.net</link>
	<description></description>
	<lastBuildDate>Wed, 22 Feb 2012 15:29:48 +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>How to create self-signed certificates for use with Apache/SSL</title>
		<link>http://onvox.net/linux/how-to-create-self-signed-certificates-for-use-with-apachessl</link>
		<comments>http://onvox.net/linux/how-to-create-self-signed-certificates-for-use-with-apachessl#comments</comments>
		<pubDate>Sat, 20 Sep 2008 02:07:13 +0000</pubDate>
		<dc:creator>Jonathan Voss</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://dev.onvox.net/?p=5</guid>
		<description><![CDATA[To create a self-signed certificate for use with a webserver such as Apache follow the following steps: Generate a server key: openssl genrsa -aes128 -out server.key 4096 Next, create a certificate signing request with it. This will prompt for several things such as country, state, etc. Make certain that &#8220;Common Name (eg, YOUR name)&#8221; matches [...]]]></description>
			<content:encoded><![CDATA[<p>To create a self-signed certificate for use with a webserver such as Apache follow the following steps:</p>
<p>Generate a server key:</p>
<p><code>openssl genrsa -aes128 -out server.key 4096<br />
</code><br />
Next, create a certificate signing request with it. This will prompt for several things such as country, state, etc. Make certain that &#8220;Common Name (eg, YOUR name)&#8221; matches the fully qualified domain name of your server (or IP address if you do not have one). You may create a challenge password at this point, however it will mean more typing for you.</p>
<p>Create the certificate signing requests:</p>
<p><code>openssl req -new -key server.key -out server.csr</code></p>
<p>Next, sign the certificate signing request. The following example expires the key in 365 days:</p>
<p><code>openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt</code></p>
<p>Now, make a version of the server.key which does not require a password:</p>
<p><code>openssl rsa -in server.key -out server.key.insecure</code><br />
<code>mv server.key server.key.secure</code><br />
<code>mv server.key.insecure server.key</code></p>
<p>Be careful with these files as they are quite sensitive and permissions should set very carefully. Chown them to root (if you are not already root). Some of the sites I have found say that you can chmod 000 them and it does seem to work in my experiments. Root always retains an effective 600 (read) rights on everything.</p>
<p>You now have the following files which are suitable for use on your self-signed certificate site:</p>
<pre>server.crt: The self-signed server certificate
server.csr: Server certificate signing request
server.key: The private server key
            (does not require a password when starting Apache
server.key.secure: The private server key
            (it will require a password when starting Apache)</pre>
<p>NOTE: These instructions have been paraphrased for my use. The original site can be found <a href="http://www.tc.umn.edu/%7Ebrams006/selfsign.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://onvox.net/linux/how-to-create-self-signed-certificates-for-use-with-apachessl/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

