Hi all,
I have linux box with 2 network interfaces (2 ip addresses and 2
hostnames: host1.domain, host2.domain) with tomcat 3.2 standalone.
I'd like to have the same application (working over SSL) on 2 different
URLs.
server.xml:
....
<Host name="host1.domain" >
<Context path=""
docBase="/usr/tomcat/webapps/xxx" />
</Host>
<Host name="host2.domain" >
<Context path=""
docBase="/usr/tomcat/webapps/xxx" />
</Host>
....
I created 2 certificates:
1. alias=tomcat, CN=host1.domain
2. alias=host2, CN=host2.domain
and put it into one keystore.
Now https://host1.domain:4443/ goes to /usr/tomcat/webapps/xxx,
but https://host2.domain:4443/ doesn't wont to :-(
Works only https://host2.domain:4443/xxx
Second problem: Web browser shows only certificate CN=host1.domain for
both URLs.
How to configure tomcat to show proper certificate and work with 2
virtual hostnames?
Thank in advance.
--
_____________________________________________________
Piotr Woliński Dom Finansowy QS
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>