0 Replies Latest reply: Jan 16, 2013 5:32 AM by 984625 RSS

    [OAM] SSL with webcache as frontend


      I currently have the following architecture

      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 :

      WLProxySSLPassThrough ON
      <IfModule mod_headers.c>
      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.

      <IfModule mod_headers.c>
      RequestHeader add IS_SSL ssl

      After login form is submitted successfully, I get the 302 redirect to http://app.domain/obrar.cgi instead of the https.

      Does someone know what I can try to make this work ?

      Thanks for your time