Monday, December 30, 2013

Apps URL redirecting to https after cloning (ssl_terminator)

Apps URL redirecting to https instead of http after clone

As part of regular practice I tried to clone my Production instance with standard oracle steps. Our Production is configured with Load balancer and SSL Setup at load balancer.

I executed adcfgclone.pl successfully on appsTier.
Later I modified the below context file parameters to disable SSL configuration after clone

<webentryurlprotocol oa_var="s_webentryurlprotocol">https</webentryurlprotocol>
to
<webentryurlprotocol oa_var="s_webentryurlprotocol">http</webentryurlprotocol>

<chronosURL oa_var="s_chronosURL">https://orapp01.test.com:8000/oracle_smp_chronos/oracle_smp_chronos_sdk.gif</chronosURL>
to
<chronosURL oa_var="s_chronosURL">http://orapp01.test.com:8000/oracle_smp_chronos/oracle_smp_chronos_sdk.gif</chronosURL>

<EndUserMonitoringURL oa_var="s_endUserMonitoringURL">https://orapp01.test.com:8000/oracle_smp_chronos/oracle_smp_chronos_sdk.gif</EndUserMonitoringURL>
to
<EndUserMonitoringURL oa_var="s_endUserMonitoringURL">http://orapp01.test.com:8000/oracle_smp_chronos/oracle_smp_chronos_sdk.gif</EndUserMonitoringURL>

<externURL oa_var="s_external_url">https://orapp01.test.com:8000</externURL>
to
<externURL oa_var="s_external_url">http://orapp01.test.com:8000</externURL>

<login_page oa_var="s_login_page">https://orapp01.test.com:8000/OA_HTML/AppsLogin</login_page>
to
<login_page oa_var="s_login_page">http://orapp01.test.com:8000/OA_HTML/AppsLogin</login_page>

Then executed autoconfig ad it completed without any errors. Later I brought up the application services normally and tried to launch application. After launching the url it is again redirecting to https even after chaning necessary parameters context file.
http://orapp01.test.com:8000/OA_HTML/AppsLogin is redirecting to https://orapp01.test.com:8000/OA_HTML/AppsLocalLogin.jsp

Later upon investigation I found that changing all https to http doesn't disable SSL but also need to modify ssl_terminator value in context value as below.

<sslterminator oa_var="s_enable_sslterminator"/>
to

<sslterminator oa_var="s_enable_sslterminator">#</sslterminator>

This disables SSL configuration. The I executed autoconfig and bounced services and finally I could launch ebs applications from Browser.

Thanks...


No comments:

Post a Comment

Your Comments on blog are strongly welcomed..