aspose file tools*
The moose likes Servlets and the fly likes Servlets and SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets and SSL" Watch "Servlets and SSL" New topic
Author

Servlets and SSL

Tod Checker
Greenhorn

Joined: Feb 19, 2004
Posts: 27
I was wondering if anyone has an example of a servlet which uses ssl?
I got this one from "more servlets and java server pages", but when I execute it my browser hangs for a while then gets redirected to an error page. I am using the last version of IE and Mozilla, and my web server is tomcat. Do I need to make any additional configurations to tomcat? If possible I would like to handle this programmatically.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
As I understand it, the stock installation of Tomcat 4 is not SSL capable. There is a section on what you need to do in the
http://localhost/tomcat-docs/ssl-howto.html
of the normal Tomcat installation.
Bill
Tod Checker
Greenhorn

Joined: Feb 19, 2004
Posts: 27
I follow the instructions and reconfigured tomcat, everything works perfectly, thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets and SSL