File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Tomcat SSL issue with Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Tomcat SSL issue with "user-data-constraint"" Watch "Tomcat SSL issue with "user-data-constraint"" New topic
Author

Tomcat SSL issue with "user-data-constraint"

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
Hi,

I have configured the "user-data-constraint" in web.xml.When i request for the resource, the container redirect to the https protocol. But i am getting "Unable to connect" in my browser as aresponse.

Do i need to configure anything in my tomcat server?

FYI security-constraint in my web.xml:

Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

Thennam Pandian wrote:Hi,
Do i need to configure anything in my tomcat server?


There are steps for setting up tomcat to use SSL (https) . here are the instructions for Tomcat 6:
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
 
jQuery in Action, 2nd edition
 
subject: Tomcat SSL issue with "user-data-constraint"