tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thad Humphries <>
Subject Re: ssl application
Date Tue, 01 Feb 2011 18:38:27 GMT
While doing some SSL research last week, I stumbled on this:

If you wish to secure the entire tomcat installation (which can be done
regardless of how you provide SSL), add the following to
TOMCAT_HOME/conf/web.xml inside the web-app tags:

<!-- redirect all traffic to the SSL port -->
    <web-resource-name>Automatic SLL Forwarding</web-resource-name>

It worked for me (Linux, Tomcat 6.0.30, JRE 1.5.0_22).

On Tue, Feb 1, 2011 at 1:31 PM, <> wrote:

> Hello all...
> I have configured ssl on tomcat 7 and I am able to access my application
> via ssl and non-ssl. What I am trying to figure out is how to configure
> tomcat so that my application is only available via ssl. Is there a way to
> do this? I have read the tomcat 7 document on ssl, but, did not take note of
> anything indicating how to do this.
> Thanks
> Bob Jenkin
> This mail was sent via Mail-SeCure System.

"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, *Doctor Faustus* (v, 121-24)

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