I was under the impression that virtual hosts on the same IP address couldn't have SSL certs. That's why I wondered if Mac was doing something special.

Richard

On May 10, 2004, at 10:30 PM, Michael Torrie wrote:

On Mon, 2004-05-10 at 22:51, Richard Miller wrote:
Mac,

I am interested in learning about your 1-IP-address box that hosts
multiple sites and still has an SSL cert on one of them.  How did you
do that?

The apache httpd.conf <VirtualHost> tag.

Michael



Richard


On May 10, 2004, at 7:20 PM, Mac Newbold wrote:

Today at 8:50am, john jonas said:

Does someone have a working httpd.conf file which has multiple
virtualhost directives one of which is using ssl?

I have 4 different domains on the server and one of them now needs
ssl.

I've tried all kinds of combinations of stuff and can't seem to get
it to
work.

As others have pointed out, you'll need one IP address per SSL certificate. This is because the SSL connection is established before the HTTP request is sent, so there's no way to know the name of the host the request is for.

But to answer your question, I have a machine that hosts several sites
using name virutal hosting, and one of them has an SSL cert. The box
only
has one IP address.

If you have a config you can post somewhere or to the list, or send to
me
privately, I'd be happy to compare it to mine to see if we can't get
yours
working for you.

Mac

Attachment: smime.p7s
Description: S/MIME cryptographic signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to