tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio W. Lagnada" <anto...@lagnada.com>
Subject SSL on Virtual Hosts
Date Thu, 02 Feb 2006 19:51:57 GMT
Hi All,

As far as I know there's only one place to set the keystore in tomcat (
server.xml).

    <Connector port="443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               keystoreFile="conf/my-keystore" keystorePass="password" />

Will tomcat support https on virtual domains?

If I have placed "www.host1.com" and "www.host2.com" on my keystore, will
tomcat map the correct domain entry?  Right now I think the first entry gets
used all the time no matter what host name is being used.

https://www.host1.com  -> mapped to www.host1.com keystore entry
https://www.host2.com  -> ALSO mapped to www.host1.com keystore entry

--

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message