httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Moran <>
Subject [users@httpd] SSLCertificate strangeness?
Date Sat, 31 Jan 2004 01:20:24 GMT

We have a server with two SSL enabled virtual hosts.  Both Virtual Hosts 
have their own self-signed certificate file (.pem) matching the name of 
the virtual host.  i.e.:

    SSLCertificate /etc/httpd/conf/foo.pem
    SSLCertificate /etc/httpd/conf/bar.pem

When I go to, all is good.. but for some reason, when one goes
to, the browser receives the certificate (and
thus complains).  I tried swapping the Virtual Host definitions around 
by putting first, and sure enough, works fine now
but now gets's certificate.  The files are different 
sizes and md5sum signatures, of course.

It's very strange, as if the first SSLCertificate directive found in the
httpd.conf file is being used all VirtualHosts.     This is a RedHat 7.2 
machine running apache 1.3.22.     I know this an old version of Apache, 
but I don't have easy access to upgrading it, so I wanted to find out if 
this behavior is something I'm misconfiguring before I barked up the 
'upgrade' tree.  Any thoughts?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message