Red Hat Bugzilla – Bug 164475
SSLCertificateFile only obeyed once
Last modified: 2007-11-30 17:07:19 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20041013 Firefox/0.9.3 (Ubuntu)
Description of problem:
I am doing name-based virtual hosting for a number of ssl sites and it appears that only the first instance of the SSLCertificateFile directive is being used.
For instance (in /etc/httpd/conf.d/ssl.conf):
Browsing to either site brings up the certificate for server1 and never the certificate for server2.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install httpd & mod_ssl
2. create certificate/key pairs for each virtual host (and remove the password)
3. configure apache to do name based virtual hosting and use different cert/key pairs for each host
Actual Results: Only the first listed certificate is used.
Expected Results: The certificate configured for each individual virtual host should be used.
Thanks for contacting us.
Unfortunately, it's not possible to use name-based vhosting with SSL; please see: