Webgate server in front listening on port 80 HTTP and 443 HTTPS; configured so that Site pattern hostname:80 and hostname:443 point to hostname:8080 (So the traffic is encrypted until the webcache server then sent in unencrypted to the OHS and finally the app server (oam, custom portal etc).).
OHS is on the same machine listening on 8080 (HTTP)
OHS has two virtualhosts, let's call them app.domain and sso.domain
I configured OAM so that the login form is on https://sso.domain
I can access my app.domain using https://app.domain, the login form shows up fine on https://sso.domain
What happens however is that after I submit my form, I always get redirected to http://app.domain instead of https://app.domain.
in OAM : I have as user defined parameters on my OAM agents :
In mod_wl_ohs.conf, I added the following to the sso.domain virtualhost :
RequestHeader add IS_SSL ssl
RequestHeader set WL-Proxy-SSL true
I tried to add at first only the following but it didn't work either.