Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets and SSL

 
Tod Checker
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I follow the instructions and reconfigured tomcat, everything works perfectly, thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic