File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes https over post request in tomcat 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "https over post request in tomcat 6" Watch "https over post request in tomcat 6" New topic
Author

https over post request in tomcat 6

rohan tiwari
Ranch Hand

Joined: Sep 13, 2007
Posts: 82
Hello,

I have configured my tomcat 6 server for https over port 8443.I have put the <user-auth-constraint> as confidential for my login resource.When I set my login form method to get everything works fine but when it is set to post login does not happen even if the password and username are correct.

Please advice.

Rohan.


SCJP 5, SCWCD 1.4, SCJD 5
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Do you have an SSL certificate?
Have you configured Tomcat to use it?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
rohan tiwari
Ranch Hand

Joined: Sep 13, 2007
Posts: 82
yes.Configured connector tag for ssl in server.xml

Https works only for a get request not for post request.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: https over post request in tomcat 6
 
Similar Threads
Acegi redirects to http and not https? (advanced)
Apache + mod_ssl + Tomcat
Internet Explorer expires session when sent from secure to non secure page
Login to Tomcat 6 Manager Fails on Locahost - Using OS X
Tomcat 7 maintaining more than one session