View Single Post

   
  #1 (permalink)  
Old 01-16-2008, 09:38 AM
wim
 
Posts: n/a
Default apache virtual hosts and different certificates

Good day everyone!

At the office, we are trying to test a secured web application. On our
Solaris we use IBM WebSphere. We use 2 different virtual hosts
(www.test1.office.com and www.test2.office.com) and would like to use
two different self signed certificates for those virtual hosts. But
every time we use test1 we get a warning that the common name of the
certificate is www.test2.office.com. Apparently it is not possible to
define two Keyfile directives in the httpd.conf .

Until now we have not been able to solve this issue. Has anybody an
idea or maybe a confirmation that it is not possible?

Our httpd.conf contains the following:

<VirtualHost www.test1.office.com:443>
SSLEnable
Keyfile /supersecretdirectory/test1.kdb
ServerName www.test1.office.com
...
</VirtualHost>

<VirtualHost www.test2.office.com:443>
SSLEnable
Keyfile /supersecretdirectory/test2.kdb
ServerName www.test2.office.com
...
</VirtualHost>


Good day,

--wim

Reply With Quote