This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41181
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.

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: Help needed on SSL configuration
Similar Threads
Tomcat SSL issue with "user-data-constraint"
linux installation, security, networking, server hardware/software configuration etc
SSL in Tomcat
Help needed on SSL configuration for Apache HTTP server 2.2.10 and Tomcat 5.5.9
Struts app on JRUN over HTTP/HTTPs in Apache