This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39547
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 - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: Help needed on SSL configuration
Similar Threads
linux installation, security, networking, server hardware/software configuration etc
Help needed on SSL configuration for Apache HTTP server 2.2.10 and Tomcat 5.5.9
Tomcat SSL issue with "user-data-constraint"
SSL in Tomcat
Struts app on JRUN over HTTP/HTTPs in Apache