You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Walsh, Kevin" <Wa...@visa.com> on 2003/05/08 11:23:42 UTC

Tomcat SSL multiple alias problem

Greetings,

I have one web server with one instance of Tomcat (4.1.18), jdk 1.4.1_01 using SSL on port 443, on a Solaris 8 Unix box.
I have a single external IP address, and want to map this address to 2 urls with a separate keystore certificate for
each one, on Tomcat, but am getting problems. I am not using a separate http server, the requests are going straight to Tomcat.

I am trying to figure out the best working solution for this - 

Is it possible to have 2 alias's for a single virtual host? I can't find the information I need in the Jakarta site.
I have seen similar issues, but they all seem to concern using multiple virtual hosts. 

The examples I've seen are based on the following snippet below: 
But I've read that for this I will need Apache's http server to route the correct requests for each url - Is that correct?

======================================================================

<Host name="mydomain0.com" debug="0" appBase="webapps" unpackWARs="true">
	<Alias>www.mydomain0.com</Alias>
	<Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="mydomain0." suffix=".log" timestamp="true"/>
	<Context path="" docBase="mydomain0" debug="0" reloadable="true"/>
	<Context path="/test" docBase="mydomain0" debug="0" reloadable="true"/>
</Host>

<Host name="mydomain1.com" debug="0" appBase="webapps" unpackWARs="true">
	<Alias>www.mydomain1.com</Alias>
	<Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="mydomain0." suffix=".log" timestamp="true"/>
	<Context path="" docBase="mydomain1" debug="0" reloadable="true"/>
	<Context path="/test1" docBase="mydomain1" debug="0" reloadable="true"/>
</Host>

======================================================================

Also, regarding using SSL on Tomcat, is my solution feasible, or can anyone see a workaround regarding multiple SSL certificates for a single
IP address on Tomcat - I'm not sure if that's even possible...


Any suggestions/guidance very much appreciated,
Kevin.




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


SSL+Apache+mod_jk+Tomcat

Posted by Beau Hebert <bh...@c-quential.com>.
Does anyone know of any resources about how to install and configure SSL
on apache to run in conjunction with tomcat and mod_jk on Linux? 
Thanks.

Beau

p.s.- Thanks to all, and Guru for your help with mod_jk.
Got it running. Alas, it was a typo...



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org