None

Proxying Tomcat with HTTPS

May 12, 2010

If you proxy tomcat using HTTPS, and you're providing externally visible (in our case jibx-soap) web services, then you need to tell tomcat to offer the WSDL using https and the correct port.

The default connector in server.xml is:

<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443"/>

You need to add scheme of https and proxyPort of 443.

<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" scheme="https" proxyPort="443"/>

This will mean that the WSDL will change to show the correct URL, with https and port 443.

Tags: tomcat https proxy jibx