The only way to make it work is by adding additional IP addresses and
setting VirtualHosts on those addresses, each with it's own
certificate. You can't have several certs on one IP address.
On 1/24/07, Bijan Vakili <[EMAIL PROTECTED]> wrote:
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: [EMAIL PROTECTED]
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.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]