ssl application

2011-02-01 Thread Robert.Jenkin
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.




Re: ssl application

2011-02-01 Thread Thad Humphries
While doing some SSL research last week, I stumbled on this:
https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration

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 --
security-constraint
  web-resource-collection
web-resource-nameAutomatic SLL Forwarding/web-resource-name
url-pattern/*/url-pattern
  /web-resource-collection
  user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
  /user-data-constraint
/security-constraint

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

On Tue, Feb 1, 2011 at 1:31 PM, robert.jen...@surecomp.com 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)


RE: ssl application

2011-02-01 Thread Robert.Jenkin
Thad,

Worked like a charm... thanks..

Sincerely,

Robert Jenkin
Surecomp Services, Inc.
2 Hudson Place, 4th Floor
Hoboken, NJ 07030
Skype: robert.jenkin
Office: 201 217 1437 | Direct: 201 716 1219 | Mobile: 908 251 0537
http://www.Surecomp.com

-Original Message-
From: Thad Humphries [mailto:thad.humphr...@gmail.com] 
Sent: Tuesday, February 01, 2011 1:38 PM
To: Tomcat Users List
Subject: Re: ssl application

While doing some SSL research last week, I stumbled on this:
https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration

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 --
security-constraint
  web-resource-collection
web-resource-nameAutomatic SLL Forwarding/web-resource-name
url-pattern/*/url-pattern
  /web-resource-collection
  user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
  /user-data-constraint
/security-constraint

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

On Tue, Feb 1, 2011 at 1:31 PM, robert.jen...@surecomp.com 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)

This mail was sent via Mail-SeCure System.


RE: ssl application

2011-02-01 Thread Caldarale, Charles R
 From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] 
 Subject: ssl application

 What I am trying to figure out is how to configure tomcat 
 so that my application is only available via ssl.
 
As I think we've mentioned several times over the past week or two, you really, 
really need to read the servlet spec (section 12.7, in this case).  The Tomcat 
doc does not reiterate things that are in the servlet spec, since the 
expectation is that everyone using Tomcat has at least skimmed the spec.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org