File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Tomcat & SSL & maybe Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat & SSL & maybe Apache" Watch "Tomcat & SSL & maybe Apache" New topic
Author

Tomcat & SSL & maybe Apache

Justin Moore
Greenhorn

Joined: Jun 27, 2000
Posts: 22
does anyone know a good link for configuring Tomcat with SSL?
If I implement Tomcat with Apache can I configure Apache so that some servlets are handled by Tomcat using SSL and some aren't?
Thanx
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
If you mean to use HTTPS, then the key thing to note is that HTTPS uses a different default port (443 If I recall correctly) to HTTP. It's fairly easy to configure Apache to put a different "virtual host" on each of these ports if you want to, but as for how you'd make sure that the requests are encrypted/decrypted correctly is beyond me. Perhaps someone else here has more information?


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Justin Moore
Greenhorn

Joined: Jun 27, 2000
Posts: 22
my understanding is that u can set up Apache to map access to some paths as secure and others as not secure. which is what I want to do. I haven't done it yet though.
Instead I got Resin and it was all too easy!!! nice one Resin!!
Anil C
Greenhorn

Joined: Jan 08, 2001
Posts: 16
Hi,
We have a similar situation in our Project where a few pages are meant to be accessed via https only. We have configured https on iPlanet successfully but now we can access the whole application on that port over https. How will we restrict access only to these pages in iPlanet ?
( I don't have an option of switching web servers !!..:-) )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat & SSL & maybe Apache