Wrong redirection in SSL offloading in Octane

  • KM03286744
  • 13-Nov-2018
  • 09-Oct-2019

Summary

How to configure ALM Octane redirection (HTTP / HTTPS) in SSL offloading environment

Error

When ALM Octane is installed using SSL offloading, the redirections go to HTTP address instead of HTTPS address

 

Fix

In order to fix it, the X-Forwarded-Proto header must be defined in a reverse proxy:

 

Go to Octane installation folder to  …/octane/server/conf/jetty.xml and add following lines to the “<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">” section:

<Call name="addCustomizer">

    <Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>

</Call>