httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bijan Vakili" <Bijan.Vak...@cryptologic.com>
Subject [users@httpd] Using multiple virtual hosts with SSL on a single IP system
Date Wed, 24 Jan 2007 16:57:17 GMT
Hi,

 

I have a Solaris 10 system running Apache 2.0.52.  I'd like to know how
to have multiple virtual host names map to the same name while each
supports its own SSL certificate and key file.  

 

The current setup is as follows:

 

...

NameVirtualHost *:443

...

# Host #1

<VirtualHost *:443>

       ServerName host1.domain.com

       SSLCertificateFile         /etc/apache2/ssl/host1.domain.com.crt

       SSLCertificateKeyFile      /etc/apache2/ssl/host1.domain.com.key

       ...

</VirtualHost>

 

# Host #2

<VirtualHost *:443>

       ServerName host2.domain.com

       SSLCertificateFile         /etc/apache2/ssl/host2.domain.com.crt

       SSLCertificateKeyFile      /etc/apache2/ssl/host2.domain.com.key

       ...

</VirtualHost>

 

The first certificate works for "host1".  However, "host2" is still
using the SSL certificate for "host1".  It seems as if the subsequent
SSLCertificateXXX directives are being ignored.

 

Can anyone tell me what I'm doing wrong?

 

 

Thanks in advance,

 

Bijan Vakili

Senior Software Developer

 

Cryptologic Inc. 

55 St-Clair W, 3rd floor, Toronto, Ontario, M4V 2Y7
Phone 416.545-1455 Ext 5892
E-Mail: bijan.vakili@cryptologic.com
<mailto:bijan.vakili@cryptologic.com> 

SKYPE: bijanvakili 

This message, including any attachments, is confidential and/or
privileged and contains information intended only for the person(s)
named above. Any other distribution, copying or disclosure is strictly
prohibited. If you are not the intended recipient or have received this
message in error, please notify us immediately by reply email and
permanently delete the original transmission from all of your systems
and hard drives, including any attachments, without making a copy.

 


Mime
View raw message