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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP+SSL" Watch "JSP+SSL" New topic
Author

JSP+SSL

Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
Hi,
How to use SSL with JSP
Hints pls..
Pranit..
Jason Brawner
Ranch Hand

Joined: Dec 19, 2001
Posts: 66
For the most part, setting up SSL depends on your container. All your JSP's have to do is request a page using the https protocol instead of http.
Which servlet container are you running? I have only setup SSL with Tomcat.


Jason E. Brawner<br />Sun Certified Java Programmer<br />Sun Certified Web Component Developer
Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
Hi Jason,
Thanks for ur reply.. i m using Tomcat too.. But i don't have any idea how to implement SSL with JSP..
Can u pls guide me..
Thanks in advance..
Pranit..
Jason Brawner
Ranch Hand

Joined: Dec 19, 2001
Posts: 66
Sure...
If your running Tomcat 4 standalone it is very easy. Just follow the instructions from their website.
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
Tomcat 3.3 (I've never tried)
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html
If your running Tomcat under a webserver like Apache or IIS, then you should configure SSL in your webserver and not Tomcat.
Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
Hi Jason,
i m runing Tomcat 4.0 and not under any webserver.. it's not standalone just in intranet
so what next i need to do..
pls help.
Pranit..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP+SSL
 
Similar Threads
SSL Info Required
Websphere ssl
WA #2 ..... word association
JSP & SSL
Want send username and password in url in some secure manner