tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: New to Tomcat -- SSL
Date Fri, 11 Dec 2009 15:47:42 GMT
Hash: SHA1


On 12/11/2009 6:47 AM, Adria Stembridge wrote:
> I'm setting up a standalone instance of Tomcat with SSL.   Tomcat5 is
> installed on the RHEL5 box and the sample pages load fine.   I created a csr
> using keytool and requested a certificate from Verisign.   After this is
> imported (I'm waiting on delivery from verisign), how would I configure
> Tomcat to route traffic from to

Just making sure you didn't mistype: did you mean route traffic from to

If you really meant -> then
it's easy to set up a redirect by simply doing:

response.sendRedirect("" + request.getRequestURI());

I suspect you meant that you wanted to use the default port of 443 for
HTTPS traffic once you have a legit, signed certificate from a CA. See
Mark's and Pid's responses for how to do that. The best resource is

If you are on a *NIX platform, I highly recommend using 'jsvc' (it
allows non-root use of ports lower than 1025) which is available as
source code in your Tomcat distribution as bin/jsvc.tar.gz.

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message