Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help needed on SSL configuration

 
Tanmoy Biswas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..........................

Tanmoy
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
I wouldn't cluster more than 5 Tomcats; there's a noticeable performance impact.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic