This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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:
I agree. Here's the link:
subject: Tomcat SSL issue with "user-data-constraint"
It's not a secret anymore!