Link to home
Start Free TrialLog in
Avatar of casit
casitFlag for United States of America

asked on

ssl subdomains in tomcat?

I have say

https://sub1.domain.com 
https://sub2.domain.com 

The ssl cert is a wildcard cert.  Do I have to use IP based hosting in tomcat or can I use name-based hosting?
Avatar of rowansmith
rowansmith

You can use name based hosting.  The Server will always return the same certificate no matter what domain the user is going too.  So long as the certificate matches the domain which the user is destined for the user will not get a certificate mismatch error.
Avatar of casit

ASKER

How would I set that up in the config file?  I haven't had to configure tomcat alot.
ASKER CERTIFIED SOLUTION
Avatar of rowansmith
rowansmith

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of casit

ASKER

How would I make SSL listen on port 443 and forward all traffic on port 80 to the appropriate virtual host on 443?