File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Help needed on SSL configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help needed on SSL configuration" Watch "Help needed on SSL configuration" New topic

Help needed on SSL configuration

Tanmoy Biswas

Joined: Feb 04, 2009
Posts: 4
Hello everybody,

I have configured two Tomcat 5.5.9 server and an Apache HTTP server 2.2.10 for tomcat clustering. It is working fine. I need to configure SSL.
My questions are:-

1) Should I need to configure SSL only on Apache HTTP server or only on Tomcat server or Apache HTTP server and Tomcat server both?

2) How to configure?

3) Is clustering can be done without Apache HTTP server and only with Tomcat?

Please give some idea.............

Thanks in advance..........................

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I'd set up Apache to terminate the SSL connection, so that the Tomcat only sees HTTP. If the web app needs to know whether a request came in over HTTPS or not, then there's an HTTP header Apache can set to indicate that.

Tomcat can do clustering; see
I wouldn't cluster more than 5 Tomcats; there's a noticeable performance impact.
I agree. Here's the link:
subject: Help needed on SSL configuration
It's not a secret anymore!