You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wade Billings <wb...@lowermybills.com> on 2004/09/11 17:00:47 UTC

Tomcat-Apache and SSL

Here is a fun one for ya all... We recently decided to migrate from a
Jrun/Apahe platform to an Apache2.0/Tomcat5.0 platform. Everything went
great until we placed it into production and found that our SSL sites
were broken.

 

Here are the details, and forgive me, as I am not a developer so I may
misquote some Java terminology.... Be patient...

 

WE determine whether or not a page is secured via which port it is
sourced from. We have a pair of load balancers, which handle all of the
SSL, and pass only HTTP/1.1 back to the actual web servers where the JVM
sits. IN order for the app to determine whether or not it is secure, we
source all SSL'ized traffic from port 8000. This setup works very well
on Jrun, but not so well on Tomcat. It appears that for some reason, the
source port of 8000 is either lost or ignored during the
Apache/AJP13/Tomcat conversation. 

 

What I need to be able to do is to get Tomcat to recognize that the
source port from the load balancer has changed from port 80 to port 8000
so our app will behave correctly and will present our pages as secure.

 

Any help is greatly appreciated.....

 

Cheers,

 

Q. Wade Billings