Sunday, May 22, 2016

OHS 12c (12.1.3) webgate deployment and configuration

In this post, I will cover the deployment and configuration of webgate 12c webgate.

OHS 12c comes pre-bundled with a webgate so we don't have to separately download and install any webgate. If you have installed OHS then you have a webgate which you can configure to protect OHS. Also there is no gui screens involved as all configurations are done via command line tools.

In the previous post i covered installation and configuration of OHS 12c.

This post builds on top of that.

Step 1 deploy webgate

./deployWebGateInstance.sh -w /OHS_12c_WEBSERVER_HOME/webserver/instances/instance1/config/fmwconfig/components/OHS/ohs1 -oh /OHS_12c_MW_HOME/

Copying files from WebGate Oracle Home to WebGate Instancedir


Step 2 Config webgate

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/OHS_12c_MW_HOME/lib
cd /OHS_12c_MW_HOME/webgate/ohs/tools/setup/InstallTools/

./EditHttpConf -w /OHS_12c_WEBSERVER_HOME/webserver/instances/instance1/config/fmwconfig/components/OHS/ohs1 -oh /OHS_12c_MW_HOME/


Step 3 Copy ObAccessClient.xml & cwallet.sso files for open mode of communication

Copy cwallet.sso and ObAccessClient.xml from 11g webgate deployment /var/oracle/fusionV11gR2/domains/OAM_DOMAIN/output to /OHS_12c_WEBSERVER_HOME/webserver/instances/instance11/config/fmwconfig/components/OHS/ohs1/webgate/config


Step 4 Restart OHS instances

cd /OHS_12c_WEBSERVER_HOME/webserver/instances/instance1/bin/


nohup ./startNodeManager.sh &


./startComponent.sh ohs1


Step 5 Test

Access http://ohs_host:ohs_port/
Get Redirected to oam server for authentication