<?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>おじさんの備忘録-番外編- &#187; SSL</title>
	<atom:link href="http://www.dxcode.com/archives/tag/ssl/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dxcode.com</link>
	<description>個人的なメモ書き</description>
	<lastBuildDate>Fri, 13 Jan 2012 23:57:25 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>VirtualHostでのSSL接続</title>
		<link>http://www.dxcode.com/archives/2008/020466.html</link>
		<comments>http://www.dxcode.com/archives/2008/020466.html#comments</comments>
		<pubDate>Mon, 04 Feb 2008 04:09:20 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS5]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/archives/2008/0204113.php</guid>
		<description><![CDATA[名前ベースのVirtualHostでSSL接続をする為の覚書。 と言っても証明書は正規のものではなく「なんちゃって証明書」だしVirtualHostでの証明書はルートドメインの証明書だが商用サイトでもなく又、第３者にスペ [...]]]></description>
			<content:encoded><![CDATA[<p>名前ベースのVirtualHostでSSL接続をする為の覚書。</p>
<p>と言っても証明書は正規のものではなく「なんちゃって証明書」だしVirtualHostでの証明書はルートドメインの証明書だが商用サイトでもなく又、第３者にスペースを貸し出すわけでもないのでこれで十分だったりします。<br />
今回はサブドメインで設定しましたが他のドメインでも問題はないと思う。</p>
<p>/etc/httpd/conf/httpd.conf　最後に追記</p>
<pre>NameVirtualHost *:80
&lt;VirtualHost *:80&gt;
ServerName raou.net
DocumentRoot /var/www/html
ServerAdmin info@raou.net
ErrorLog logs/raou.net-error_log
CustomLog logs/raou.net-access_log common
&lt;/VirtualHost&gt;
&lt;VirtualHost *:80&gt;
ServerName blog.raou.net
DocumentRoot /var/www/html/blog.raou.net
ServerAdmin info@raou.net
ErrorLog logs/blog.raou.net_error_log
CustomLog logs/blog.raou.net_log common
&lt;/VirtualHost&gt;</pre>
<p>/etc/httpd/conf.d/ssl.conf　最後に追記</p>
<pre>NameVirtualHost *:443
&lt;VirtualHost *:443&gt;
ServerAdmin info@raou.net
DocumentRoot /var/www/html
ServerName raou.net:443
ErrorLog logs/raou.net-error_log
CustomLog logs/raou.net-access_log common
SSLEngine On
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/server.crt
SSLCertificateKeyFile /etc/pki/tls/certs/server.key
&lt;Files ~ &quot;\.(cgi|shtml|phtml|php3?)$&quot;&gt;
SSLOptions +StdEnvVars
&lt;/Files&gt;
&lt;/VirtualHost&gt;
&lt;VirtualHost *:443&gt;
ServerAdmin info@raou.net
DocumentRoot /var/www/html/blog.raou.net
ServerName blog.raou.net:443
ErrorLog logs/blog.raou.net-error_log
CustomLog logs/blog.raou.net-access_log common
SSLEngine On
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/server.crt
SSLCertificateKeyFile /etc/pki/tls/certs/server.key
&lt;Files ~ &quot;\.(cgi|shtml|phtml|php3?)$&quot;&gt;
SSLOptions +StdEnvVars
&lt;/Files&gt;
&lt;/VirtualHost&gt;</pre>
<p>参考記事 » <a href="http://www.isokiti.tv/~isobetti/index.php?eid=61">成功SSLのvirtualhost設定</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2008/020466.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

