aspose file tools*
The moose likes Servlets and the fly likes SSL + Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "SSL + Servlet" Watch "SSL + Servlet" New topic
Author

SSL + Servlet

Luis Tavares
Greenhorn

Joined: Aug 20, 2008
Posts: 6
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!


IdeasNotFoundException<br />visit the brazilian java forum: <a href="http://www.guj.com.br" target="_blank" rel="nofollow">www.guj.com.br</a>
Santhosh Kumar
Ranch Hand

Joined: Nov 07, 2000
Posts: 242
Which container are you using?
Luis Tavares
Greenhorn

Joined: Aug 20, 2008
Posts: 6
I use tomcat.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39549
    
  27
Did you install a server certificate like the Tomcat docs describe in detail?
[ August 20, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
Luis Tavares
Greenhorn

Joined: Aug 20, 2008
Posts: 6
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

Joined: Jul 01, 2008
Posts: 24
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSL + Servlet
 
Similar Threads
tomcat 3.2 and invoking a servlet
Using https for certain JSP
Context Path Problem
Transport-guarantee in web.xml
How to remove the port number in https adress?