<?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>Smemorando &#187; openssl</title>
	<atom:link href="http://www.smemorando.com/tag/openssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smemorando.com</link>
	<description>la libertà non esiste, siamo tutti schiavi</description>
	<lastBuildDate>Wed, 02 Jun 2010 08:10:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Come generare un certificato ssl per Apache httpd</title>
		<link>http://www.smemorando.com/2009/10/29/come-generare-un-certificate-ssl-da-usare-su-httpdapache/</link>
		<comments>http://www.smemorando.com/2009/10/29/come-generare-un-certificate-ssl-da-usare-su-httpdapache/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 19:34:47 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[Comandi Shell Linux]]></category>
		<category><![CDATA[openssl]]></category>

		<guid isPermaLink="false">http://www.smemorando.com/?p=235</guid>
		<description><![CDATA[Per prima cosa creo la chiave: openssl req -new &#62; new.cert.csr rimuovo la frase di sicurezza: openssl rsa -in privkey.pem -out new.cert.key converto la richiesta nel certificato firmato: openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -days 365 faccio il move dei due file nel path che andrò poi ad inserire nel file di [...]]]></description>
			<content:encoded><![CDATA[<p>Per prima cosa creo la chiave:<br />
<strong>openssl req -new &gt; new.cert.csr</strong></p>
<p>rimuovo la frase di sicurezza:<br />
<strong>openssl rsa -in privkey.pem -out new.cert.key</strong><br />
<strong> </strong></p>
<p>converto la richiesta nel certificato firmato:<br />
<strong>openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -days 365</strong></p>
<p>faccio il move dei due file nel path che andrò poi ad inserire nel file di configurazione di Apache</p>
<p>edito sul file di configurazione di apache i path ai due file:<br />
<strong>vi /etc/httpd/conf/httpd.conf </strong>(su RedHat/Centos)</p>
<p># ..inizio&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;su RedHat/Centos<strong><br />
SSLCertificateFile /etc/httpd/conf/ssl/new.cert.cert<br />
SSLCertificateKeyFile /etc/httpd/conf/ssl/new.cert.key</strong><br />
# ..fine&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;su RedHat/Centos</p>
<p>e reimposto i permessi sui due file (RedHat/Centos):<br />
<strong>chmod 400 /etc/httpd/conf/ssl/*</strong></p>
<p># ..inizio&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; su Debian/Ubuntu *<strong><br />
SSLCertificateFile /etc/apache2/ssl/my.cert.pem<br />
SSLCertificateKeyFile /etc/apache2/ssl/my.key.pem</strong><br />
# ..fine&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; su Debian/Ubuntu</p>
<p>e reimposto i permessi sui due file (Debian/Ubuntu):<br />
<strong>chmod 400 /etc/apache2/ssl/*</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smemorando.com/2009/10/29/come-generare-un-certificate-ssl-da-usare-su-httpdapache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
