<?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>linuxbuddies.com &#187; SSL</title>
	<atom:link href="http://linuxbuddies.com/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxbuddies.com</link>
	<description>For linux documentations.</description>
	<lastBuildDate>Fri, 11 Sep 2009 10:11:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache SSL certificate Creation</title>
		<link>http://linuxbuddies.com/2008/12/22/apache-ssl-certificate-creation/</link>
		<comments>http://linuxbuddies.com/2008/12/22/apache-ssl-certificate-creation/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 05:39:51 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Certificate Creation]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=74</guid>
		<description><![CDATA[Hi.. Guys
Please follow the steps to install SSL certificate on Apache
# cd /usr/local/apache
# mkdir cert
# cd cert
1. Generate your own Certificate Authority (CA)
# openssl genrsa -out ca.key 4096
# openssl req -new -x509 -days 365 -key ca.key -out ca.crt
2.Generate a server key and request for signing (csr)
# openssl genrsa -out server.key ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-75" title="ssl" src="http://linuxbuddies.com/wp-content/uploads/2008/12/ssl-150x150.jpg" alt="ssl" width="150" height="150" />Hi.. Guys</p>
<p>Please follow the steps to install SSL certificate on Apache</p>
<blockquote><p><span># cd /usr/local/apache</span></p>
<p><span># mkdir cert<br />
# cd cert</span></p></blockquote>
<p>1. Generate your own Certificate Authority (CA)</p>
<blockquote><p><span># openssl genrsa -out ca.key 4096<br />
# openssl req -new -x509 -days 365 -key ca.key -out ca.crt</span></p></blockquote>
<p>2.Generate a server key and request for signing (csr)</p>
<blockquote><p><span># openssl genrsa -out server.key 4096<br />
# openssl req -new -key server.key -out server.csr</span></p></blockquote>
<p>3.Sign the certificate signing request (csr) with the self-created certificate authority (CA) that you made earlier</p>
<blockquote><p><span># openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.crt</span></p></blockquote>
<p>Edit /usr/local/apache/conf/httpd.conf</p>
<blockquote><p><span>ServerName xxx.xxx.xxx.xxx:443<br />
Listen xxx.xxx.xxx.xxx:443<br />
LoadModule ssl_module modules/mod_ssl.so</span></p>
<p><span>SSLEngine on<br />
SSLCertificateFile /usr/local/apache/cert/server.crt<br />
SSLCertificateKeyFile /usr/local/apache/cert/server.key</span></p></blockquote>
<blockquote><p><span># /usr/local/apache/bin/apachectl restart</span></p></blockquote>
<p>To do the same with a Passphrase follow below</p>
<blockquote><p><span># cd /usr/local/apache<br />
# mkdir cert<br />
# cd cert<br />
# openssl genrsa -des3 -out ca.key 4096<br />
# openssl req -new -x509 -days 365 -key ca.key -out ca.crt<br />
# openssl genrsa -des3 -out server.key 4096<br />
# openssl req -new -key server.key -out server.csr<br />
# openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.crt</span></p></blockquote>
<p>Rest of the configuration remains same</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2008/12/22/apache-ssl-certificate-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
