Silahkan Melihat Tutorial di website kami dengan nyaman ENJOY YOUR LIFE ☕

Registering Oracle HTTP Server WebGate with Oracle Access manager



Step 1: Setup the RREG utility 
[omss@ptudvtg149 ~]$ cd fmw/
[omss@ptudvtg149 fmw]$ ls
coherence_3.7  domain-registry.xml  logs  modules  ocm.rsp  oracle_bip  oracle_common  Oracle_IDM1  registry.dat  registry.xml  user_projects  utils  wlserver_10.3
[omss@ptudvtg149 fmw]$ mkdir oam-rreg
[omss@ptudvtg149 fmw]$ cd oam-rreg/
[omss@ptudvtg149 oam-rreg]$ cp /home/omss/fmw/Oracle_IDM1/oam/server/rreg/client/RREG.tar .
[omss@ptudvtg149 oam-rreg]$ ls
RREG.tar
[omss@ptudvtg149 oam-rreg]$ tar -xvf RREG.tar
rreg/
rreg/logs/
rreg/bin/
rreg/bin/oamreg.bat
rreg/bin/oamreg.sh
rreg/input/
rreg/input/OAMRequest.xml
rreg/input/OAMRequest_short.xml
rreg/input/OAM11GRequest.xml
rreg/input/OpenSSOUpdateAgentRequest.xml
rreg/input/CreatePolicyRequest.xml
rreg/input/OAM11GRequest_short.xml
rreg/input/OSSORequest.xml
rreg/input/OpenSSORequest_short.xml
rreg/input/OSSOUpdateAgentRequest.xml
rreg/input/OAM11GUpdateAgentRequest.xml
rreg/input/OpenSSORequest.xml
rreg/input/UpdatePolicyRequest.xml
rreg/input/OAMUpdateAgentRequest.xml
rreg/lib/
rreg/lib/utilities.jar
rreg/lib/RequestResponse.jar
rreg/lib/rreg.jar
rreg/lib/commons-logging-1.1.1.jar
rreg/lib/osdt_cert.jar
rreg/lib/identitystore.jar
rreg/lib/oraclepki.jar
rreg/lib/commons-codec-1.3.jar
rreg/lib/commons-httpclient-3.1.jar
rreg/lib/jps-common.jar
rreg/lib/nap-api.jar
rreg/lib/osdt_core.jar
rreg/lib/ojmisc.jar
rreg/lib/osdt_xmlsec.jar
rreg/lib/jps-internal.jar
rreg/lib/jps-ee.jar
rreg/lib/jps-unsupported-api.jar
rreg/lib/jps-api.jar
rreg/config/
rreg/config/RequestResponseXMLSchema.xsd
rreg/templates/
rreg/templates/opensso/
rreg/templates/opensso/webagents/
rreg/templates/opensso/webagents/OpenSSOAgentConfiguration.template
rreg/templates/opensso/webagents/OpenSSOAgentBootstrap.template
rreg/templates/opensso/webagents/AMAgent.template
rreg/templates/opensso/j2eeagents/
rreg/templates/opensso/j2eeagents/OpenSSOAgentConfiguration.template
rreg/templates/opensso/j2eeagents/AMAgent.template
rreg/templates/opensso/j2eeagents/OpenSSOAgentBootstrap.template
rreg/tester/
rreg/tester/nap-api.jar
rreg/tester/oamtest.jar
rreg/truststore/
rreg/truststore/rregcerts.jks
rreg/output/
[omss@ptudvtg149 oam-rreg]$ ls
rreg  RREG.tar

Step 2: Use the existing Request template file to create the configuration file 


    








Step 3: Register the configuration:
[omss@ptudvtg149 oam-rreg]$ export OAM_REG_HOME=/home/omss/fmw/Oracle_IDM1/oam/server/rreg
[omss@ptudvtg149 oam-rreg]$ cp oam-serverRequest.xml $OAM_REG_HOME/input
[omss@ptudvtg149 ~]$ cd $OAM_REG_HOME
[omss@ptudvtg149 rreg]$ ls
bin  client  config  input  lib  logs  output  templates  truststore
[omss@ptudvtg149 rreg]$ rreg/bin/oamreg.sh inband input/oam-serverRequest.xml                                                                                     
Step 4: Copy the files to webgate config

[omss@ptudvtg149 rreg]$ cd output/
[omss@ptudvtg149 output]$ ls
readme.txt  RREG_OAM11G_133_bak  RREG_OAM11G_156
[omss@ptudvtg149 output]$ cd RREG_OAM11G_156/
[omss@ptudvtg149 RREG_OAM11G_156]$ ls
cwallet.sso  cwallet.sso.lck  ObAccessClient.xml  wallet
^C[omss@ptudvtg149 RREG_OAM11G_156]$ scp -r * access@192.168.2.156:/home/access/fmw/Oracle_WT1/instances/instance1/config/OHS/ohs1/webgate/config
access@192.168.2.156's password: 
cwallet.sso                        100%  452     0.4KB/s   00:00    
cwallet.sso.lck                    100%    0     0.0KB/s   00:00    
ObAccessClient.xml                 100% 2787     2.7KB/s   00:00    
cwallet.sso.lck                    100%    0     0.0KB/s   00:00    
cwallet.sso                        100%  420     0.4KB/s   00:00
Step 5: Configuring the Host Identifier
Step 5.1: Login to OAM:
http://192.168.2.149:7003/oamconsole
Application Security --> Access Manager --> Host Identifiers

Step 5.2: Click Search






















Step 5.3: Click RREG_OAM11G_156

Step 5.4: Add Host name and port click Apply

Step 6: Reboot the OHS Server on server 192.168.2.156

[access@ptud ohs1]$ cd ~/fmw/Oracle_WT1/instances/instance1/bin
[access@ptud bin]$ ls
opmnctl
[access@ptud bin]$ ./opmnctl stopall
opmnctl stopall: stopping opmn and all managed processes...
[access@ptud bin]$ ./opmnctl startall
opmnctl startall: starting opmn and all managed processes...




0 komentar:

Post a Comment

Registering Oracle HTTP Server WebGate with Oracle Access manager