OHS SSL Reverse Proxy to Non-SSL OIM
776313Apr 7 2012 — edited Jul 18 2013Hi everyone,
I'm having problems with OHS reverse proxy to OIM 11.1.1.5.2.
I have OIM deployed on Weblogic as Non-SSL applications. And I have OHS as the front-end reverse proxy server, which is set up with SSL, and reverse proxy requests to OIM.
So the traffic is like: Browser ---1---> OHS ----2----> Weblogic (OIM). 1 is HTTPS, 2 is HTTP
When I click the link https://<ohs_hostname>/oim to access to oim in the backend, I'm always getting the following response:
HTTP/1.0 302 Moved Temporarily
Date: Sat, 07 Apr 2012 14:56:34 GMT
Server: Oracle-Application-Server-11g
Location: http://10.254.49.30/oim/faces/pages/Self.jspx
X-ORACLE-DMS-ECID: 004jHVueir7Bh4w_GD1Fif0002TY00005b
X-Powered-By: Servlet/2.5 JSP/2.1
Connection: close
Content-Type: text/html
Content-Language: en
This redirects me to the ohs on http traffic. But i don't want http traffice in my case. I want the end-users to use https to access the application only.
My proxy is set up in the mod_wl_ohs.conf file like this:
<Location /polaris>
SetHandler weblogic-handler
WebLogicHost oim.mydomain.com
WeblogicPort 7006
Debug ON
WLLogFile /u01/Oracle/Middleware/Oracle_WT1/instances/instance1/diagnostics/logs/OHS/ohs1/weblogic.log
WLProxySSL ON
ConnectTimeoutSecs 5
ConnectRetrySecs 1
</Location>
Does any one know what the problem is? Thanks a lot!
Regards,
Guanhui