• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL + Servlet

 
Luis Tavares
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I do for my servlet run by https.
I added the connector port 443(or 8443) and uncommented the connector port 8080 (in server.xml).
Ok, my servlet changed the port, now I access in http://localhost:443/MyAplication
But my servlet continue in http, just the port changed.

Can anyone help me?
Thanks!
 
Santhosh Kumar
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which container are you using?
 
Luis Tavares
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use tomcat.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you install a server certificate like the Tomcat docs describe in detail?
[ August 20, 2008: Message edited by: Ulf Dittmer ]
 
Luis Tavares
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a certificated using OpenSSL and I put the path on the connector:



Anything wrong?

[ UD: added line breaks ]
[ August 20, 2008: Message edited by: Ulf Dittmer ]
 
benjamin muktesh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good place to start would be to check in your browser settings if you have enabled ssl usage.
In IE go to internet options -> Advanced
In firefox, options -> advanced
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic