<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Configuring HTTPS with virtual hosts</title>
	<atom:link href="http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/feed/" rel="self" type="application/rss+xml" />
	<link>http://diymacserver.com</link>
	<description></description>
	<lastBuildDate>Mon, 08 Mar 2010 15:55:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richard</title>
		<link>http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/comment-page-1/#comment-6440</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Wed, 27 Jan 2010 05:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/#comment-6440</guid>
		<description>@Roberto, maybe during the compile fase there was an error with SSL and the module didn&#039;t compile. Check the config.log for errors on SSL and check if the module is available in the modules directory. If it is there just put the line in httpd.conf.</description>
		<content:encoded><![CDATA[<p>@Roberto, maybe during the compile fase there was an error with SSL and the module didn&#8217;t compile. Check the config.log for errors on SSL and check if the module is available in the modules directory. If it is there just put the line in httpd.conf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto</title>
		<link>http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/comment-page-1/#comment-6439</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Wed, 27 Jan 2010 01:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/#comment-6439</guid>
		<description>Hi Richard question I dont have this line in my httpd.conf file:

LoadModule ssl_module modules/mod_ssl.so

So I cant uncomment it. How do I go about enabaling ssl_mod? Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Richard question I dont have this line in my httpd.conf file:</p>
<p>LoadModule ssl_module modules/mod_ssl.so</p>
<p>So I cant uncomment it. How do I go about enabaling ssl_mod? Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/comment-page-1/#comment-1143</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 15 Jul 2008 19:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/#comment-1143</guid>
		<description>Sam in /etc/apache2 is the original configuration I didn&#039;t want to touch that. Same with the actual binaries, the diy install is in /usr/local just to not interfere with the original installation which might be overwritten by a update.

If you want to start the original use the sharing pane in the system preference, otherwise use the &lt;a href=&quot;/installing-apache/starting-apache-at-boot-on-leopard/&quot; rel=&quot;nofollow&quot;&gt;launchd script from the site&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Sam in /etc/apache2 is the original configuration I didn&#8217;t want to touch that. Same with the actual binaries, the diy install is in /usr/local just to not interfere with the original installation which might be overwritten by a update.</p>
<p>If you want to start the original use the sharing pane in the system preference, otherwise use the <a href="/installing-apache/starting-apache-at-boot-on-leopard/" rel="nofollow">launchd script from the site</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/comment-page-1/#comment-1140</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 15 Jul 2008 11:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/#comment-1140</guid>
		<description>Why you are using /etc/httpd... isn&#039;t this an apache2 config? shouldn&#039;t it be /etc/apache2?

With the diy setup, the Apache install on /usr/sbin is still there. Where do you set which apache is going to run on start? Maybe I haven&#039;t dug deep enough... I&#039;m guessing it&#039;s a launchd thing.</description>
		<content:encoded><![CDATA[<p>Why you are using /etc/httpd&#8230; isn&#8217;t this an apache2 config? shouldn&#8217;t it be /etc/apache2?</p>
<p>With the diy setup, the Apache install on /usr/sbin is still there. Where do you set which apache is going to run on start? Maybe I haven&#8217;t dug deep enough&#8230; I&#8217;m guessing it&#8217;s a launchd thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vxbush</title>
		<link>http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/comment-page-1/#comment-103</link>
		<dc:creator>vxbush</dc:creator>
		<pubDate>Wed, 27 Jun 2007 16:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/#comment-103</guid>
		<description>I noticed when I did this that the httpd.conf file has the following just before the  block: 

# Secure (SSL/TLS) connections
# Include /etc/httpd/extra/httpd-ssl.conf

By uncommenting the second line and dealing with the settings in the file /etc/httpd/extra/httpd_ssl.conf, SSL worked just fine and it also isolates the settings for SSL. While I don&#039;t have any need for a virtual host, this seems to work nicely. 

Just a thunk....</description>
		<content:encoded><![CDATA[<p>I noticed when I did this that the httpd.conf file has the following just before the  block: </p>
<p># Secure (SSL/TLS) connections<br />
# Include /etc/httpd/extra/httpd-ssl.conf</p>
<p>By uncommenting the second line and dealing with the settings in the file /etc/httpd/extra/httpd_ssl.conf, SSL worked just fine and it also isolates the settings for SSL. While I don&#8217;t have any need for a virtual host, this seems to work nicely. </p>
<p>Just a thunk&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/comment-page-1/#comment-16</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 22 Feb 2007 15:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/#comment-16</guid>
		<description>One other thing I should add here is that if you set up multiple virtual hosts with SSL enabled, you will get warning messages in the log when you start/restart apache. Apache still handles the vhosts correctly and encrypts the connection - it just complains about it.</description>
		<content:encoded><![CDATA[<p>One other thing I should add here is that if you set up multiple virtual hosts with SSL enabled, you will get warning messages in the log when you start/restart apache. Apache still handles the vhosts correctly and encrypts the connection &#8211; it just complains about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/comment-page-1/#comment-15</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 22 Feb 2007 05:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/installing-apache/configuring-https-with-virtual-hosts/#comment-15</guid>
		<description>One important note to this: You can only use one certificate for your entire apache server - you cannot, for example set up https://www.example1.com and https://www.example2.com and have different certificates for them. Apache (any version) will ignore all but the first SSLCertificateFile and SSLCertificateKeyFile directives it encounters.

If you set up multiple virtual hosts with SSL, visitors to all but the one named in the certificate itself will get the warning about a possible security issue with the domain not matching the certificate (It&#039;s not actually a problem - the connection is still encrypted, but users may not like seeing the warning).

The reason for this is that the SSL connection (say, with OpenSSL as on the Mac) has to be established BEFORE apache can process the request, since the request is sent encrypted. This means that the certificate is sent first, then the SSL negotiation takes place, then apache processes the request and finds the virtual host.

This is well documented at apache.org and several other sites (I&#039;ll find links if you want....just ask...).

It&#039;s not really a big problem ( I do this as Richard suggested and it works fine - and most of my users don&#039;t care about the warnings), but I found it useful to know....especially after I spent several hours trying to fix the warnings! :)

I hope that helps someone....</description>
		<content:encoded><![CDATA[<p>One important note to this: You can only use one certificate for your entire apache server &#8211; you cannot, for example set up <a href="https://www.example1.com" rel="nofollow">https://www.example1.com</a> and <a href="https://www.example2.com" rel="nofollow">https://www.example2.com</a> and have different certificates for them. Apache (any version) will ignore all but the first SSLCertificateFile and SSLCertificateKeyFile directives it encounters.</p>
<p>If you set up multiple virtual hosts with SSL, visitors to all but the one named in the certificate itself will get the warning about a possible security issue with the domain not matching the certificate (It&#8217;s not actually a problem &#8211; the connection is still encrypted, but users may not like seeing the warning).</p>
<p>The reason for this is that the SSL connection (say, with OpenSSL as on the Mac) has to be established BEFORE apache can process the request, since the request is sent encrypted. This means that the certificate is sent first, then the SSL negotiation takes place, then apache processes the request and finds the virtual host.</p>
<p>This is well documented at apache.org and several other sites (I&#8217;ll find links if you want&#8230;.just ask&#8230;).</p>
<p>It&#8217;s not really a big problem ( I do this as Richard suggested and it works fine &#8211; and most of my users don&#8217;t care about the warnings), but I found it useful to know&#8230;.especially after I spent several hours trying to fix the warnings! <img src='http://diymacserver.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I hope that helps someone&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
