Register OAM WebGate from WebGate host

Hi All,

In this post I will explain how one can register a webgate from webgate host rather than registering the webgate from OAM Admin Console or OAM Admin Host.

Refer these posts 1, 2 to understand concepts of WebGate registration in OAM 11g. Inband registration mode is used when Web Server Administrator and OAM Administrator are same or managed by same team. Therefore one can register webgate through inband mode either in OAM Admin Server Host using command line or through OAM Admin Console. However these approaches would enforce Admin to copy OAM WebGate artifacts from OAM Admin Host to WebGate host. If your OAM deployment has several WebGate hosts which makes copying artifacts a challenge, then this post would help you.

To register webgate in command line, oamreg.sh script is used. This comes bundled with

<<ORACLE_HOME>>/oam/server/rreg/client and the file is RREG.tar.gz.

All you need to do is to copy this zip file into a command place to be used by all webgate in your deployment.

 

  1. Copy RREG.tar.gz to WebGate Host.
  2. Unzip and untar it.
  3. Set JAVA_HOME environment variable to JRE path. The WebGate host must have JRE installed prior to webgate registration.
  4. Prepare the input xml located in <<RREG_HOME>>/input. <<RREG_HOME>> is the directory where zip file is extracted.
  5. Ensure to update serverAddress field in XML to OAM Server URL say http://<<OAM_ADMIN_HOST>>:<<port>>
  6. Goto <<RREG_HOME>>
  7. Run the command ./bin/oamreg.sh inband input/<<input_xml_name>>
  8. This command will prompt you to enter OAM WebLogic Admin username and password. It will also prompt you whether to set webgate password. If you select yes, it will prompt you to enter webgate password.
  9. The WebGate artifacts ObAccessClient.xml along with password files based on security mode will be generated at <<RREG_HOME>>/output/<<WEBGATE_NAME>>
  10. Copy these artifacts to WebServer conf/webgate/config directory and restart the web server.

Hope this helps.

If you want to learn more in Oracle Access Manager then register for our free Minicourse by clicking on below image.

OAM_img

About the Author Mahendra

I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc., Look @ my blog: http://talkidentity.blogspot.com

Leave a Comment:

5 comments
srinivas says September 3, 2014

Hi All

i am invoking oam managed server from admin console and my admin server and oam managed servers running successfully but while testing my oam server from browser i am getting bellow error

Error 404–Not Found

From RFC 2068 Hypertext Transfer Protocol — HTTP/1.1:

10.4.5 404 Not Found

The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

Reply
Ashish says September 16, 2014

Hello,

I was able to integrate OAM with one of our EBS environment.
Now I have another EBS environment, which I am trying to integrate with the earlier installed OAM.

So basically, using the same OAM-OID combination to provide the SSO solution for another EBS environment.

Do I need to install, OHS (HTTP) server again for the 2nd EBS environment ?

Thanks,

Ashish

Reply
Poornima says October 30, 2014

Hi Mahendra,

I am new to Oracle Access Management. Can you help me in understanding it more? Its just few days since I started getting to know OAM. I deployed a web application in Tomcat. I want the application to be authenticated before getting deployed in Tomcat. Automatic redirection of page should happen. Authentication page should be OAM page. I dont know how to do this.

Reply
Sherry Mcclendon says February 24, 2015

I am in fact grateful to the holder of this web page who has shared this great post at at this place.

Reply
AB says January 31, 2019

Hi,

I need Webgate 11.1.1.5.0 Version for apache 2.2.

I am only getting Webgate 11.1.2.2.0 and 11.1.2.3.0 for Apache 2.2 according to below website URL.
https://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oam-webgates-2147084.html

Where can i get the installables for Webgate 11.1.1.5.0 Version for apache 2.2 on net.

Thanks
AB

Reply
Add Your Reply