File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Tomcat SSL issue with "user-data-constraint"" Watch "Tomcat SSL issue with "user-data-constraint"" New topic

Tomcat SSL issue with "user-data-constraint"

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163

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:
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat SSL issue with "user-data-constraint"
It's not a secret anymore!