Oracle® Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management (Oracle Fusion Applications Edition) 11g Release 1 (11.1.3) Part Number E21032-07 |
|
|
PDF · Mobi · ePub |
This chapter describes how to configure Oracle Access Manager 11.1.1 in the Oracle Identity Management enterprise deployment.
This chapter includes the following topics:
Section 14.1, "Overview of Configuring Oracle Access Manager"
Section 14.5, "Configuring Oracle Access Manager on IDMHOST2"
Section 14.6, "Configuring Oracle Access Manager to work with the Oracle Web Tier"
Section 14.8, "Adding the oamadmin Account to Access System Administrators"
Section 14.11, "Updating the Configuration File oam-config.xml"
Section 14.12, "Backing Up the Application Tier Configuration"
Oracle Access Manager enables your users to seamlessly gain access to web applications and other IT resources across your enterprise. It provides a centralized and automated single sign-on (SSO) solution, which includes an extensible set of authentication methods and the ability to define workflows around them. It also contains an authorization engine, which grants or denies access to particular resources based on properties of the user requesting access as well as based on the environment from which the request is made. Comprehensive policy management, auditing, and integration with other components of your IT infrastructure enrich this core functionality.
Oracle Access Manager consists of several components, including Oracle Access Server (OAM Server), Access Manager Console, and WebGates. The OAM Server includes all the components necessary to restrict access to enterprise resources. The Access Manager console is the administrative console to Oracle Access Manger. WebGates are web server agents that act as the actual enforcement points for Oracle Access Manager. Follow the instructions in this chapter and Chapter 20, "Configuring Single Sign-on for Administration Consoles in an Enterprise Deployment" to install and configure the Oracle Access Manager components necessary for your enterprise deployment.
After you complete this chapter, the following URLs will be available:
The enterprise deployment described in this guide shows Oracle Access Manager using Oracle Internet Directory as the only LDAP repository. Oracle Access Manager uses a single LDAP for policy and configuration data. It is possible to configure another LDAP as the Identity Store where users, organizations and groups reside. For example, an Oracle Access Manager instance may use Oracle Internet Directory as its policy and configuration store and point to an instance of Microsoft Active Directory for users and groups.
In addition, the Identity Stores can potentially be front-ended by Oracle Virtual Directory to virtualize the data sources.
To learn more about the different types of directory configuration for Oracle Access Manager, consult the 11g Oracle Access Manager documentation at Oracle Technology Network. Customers considering these variations should adjust their directory tier and Oracle Access Manager deployment accordingly.
Before you configure Oracle Access Manager, ensure that the following tasks have been performed on IDMHOST1 and IDMHOST2:
Install Oracle WebLogic Server as described in Section 6.3.3, "Installing Oracle WebLogic Server and Creating the Fusion Middleware Home."
Install Identity Management as described in Section 6.3.4, "Installing Oracle Identity Management."
Install Oracle Identity and Access Management as described in Section 6.3.6, "Installing Oracle Identity and Access Management."
Install the Identity Store, as described in Chapter 9, "Extending the Domain to Include Oracle Internet Directory" or Chapter 13, "Configuring an Identity Store with Multiple Directories."
Prepare the Identity and Policy Stores as described in Chapter 11, "Preparing Identity and Policy Stores."
Install Oracle Virtual Directory, if required, as described in Chapter 12, "Extending the Domain to Include Oracle Virtual Directory."
This section contains the following topics:
Start Oracle Access Manager on IDMHOST2 by following the start procedures in Section 21.1, "Starting and Stopping Oracle Identity Management Components" for:
Node Manager (if it is not already started)
WebLogic Managed Server WLS_OAM2
This section describes how to configure Oracle Access Manager to work with the Oracle Web Tier.
This section contains the following topics:
Section 14.6.2, "Configuring Oracle HTTP Servers to Display Login Page"
Section 14.6.3, "Configuring Oracle HTTP Servers to Access Oracle Access Manager Console"
Before proceeding, ensure that the following tasks have been performed:
Configure Oracle Web Tier on WEBHOST1 and WEBHOST2 as described in Chapter 7, "Configuring the Web Tier for an Enterprise Deployment."
Configure Oracle Access Manager on IDMHOST1 and IDMHOST2 as described in and Section 14.5, "Configuring Oracle Access Manager on IDMHOST2."
Configure the load balancer with a virtual host name (sso.mycompany.com
) routing traffic to the webservers on WEBHOST1 and WEBHOST2 as described in Section 3.2, "About Virtual Server Names Used by the Topologies."
Configure the load balancer with a virtual host name (admin.mycompany.com
) routing traffic to webservers WEBHOST1 and WEBHOST2 Section 3.2, "About Virtual Server Names Used by the Topologies."
On each of the web servers on WEBHOST1 and WEBHOST2 edit the file ORACLE_INSTANCE
/config/OHS/
component
/moduleconf/sso_vh.conf
.
Add the following lines in the virtual host directive:
<Location /oam> SetHandler weblogic-handler WLProxySSL ON WLProxySSLPassThrough ON WebLogicCluster idmhost1.mycompany.com:14100,idmhost2.mycompany.com:14100 </Location>
After editing the file should look like this:
<VirtualHost *:7777> ServerName https://sso.mycompany.com:443 RewriteEngine On RewriteOptions inherit RewriteRule ^/console/jsp/common/logout.jsp /oamsso/logout.html [PT] RewriteRule ^/em/targetauth/emaslogout.jsp /oamsso/logout.html [PT] UseCanonicalName On <Location /oam> SetHandler weblogic-handler WLProxySSL ON WLProxySSLPassThrough ON WebLogicCluster idmhost1.mycompany.com:14100,idmhost2.mycompany.com:14100 </Location> </VirtualHost>
Also add:
<Location /fusion_apps> SetHandler weblogic-handler WLProxySSL ON WLProxySSLPassThrough ON WebLogicCluster idmhost1.mycompany.com:14100,idmhost2.mycompany.com:14100 </Location>
if the END user uses the FAAuthScheme
to protect its Application Domain, that is, the FusionApplication
.
On each of the web servers on WEBHOST1 and WEBHOST2, a file called admin_vh.conf
was created in the directory ORACLE_INSTANCE
/config/OHS/
component
/moduleconf
. (See Section 8.7, "Configuring Oracle HTTP Server for the WebLogic Domain.") Edit this file and add the following lines within the virtual host definition:
<Location /oamconsole> SetHandler weblogic-handler WebLogicHost ADMINVHN WebLogicPort 7001 </Location>
After editing the file should look like:
NameVirtualHost *:7777 <VirtualHost *:7777> ServerName admin.mycompany.com:80 ServerAdmin you@your.address RewriteEngine On RewriteOptions inherit RewriteRule ^/console/jsp/common/logout.jsp /oamsso/logout.html [PT] RewriteRule ^/em/targetauth/emaslogout.jsp /oamsso/logout.html [PT] # Admin Server and EM <Location /console> SetHandler weblogic-handler WebLogicHost ADMINVHN WeblogicPort 7001 </Location> <Location /consolehelp> SetHandler weblogic-handler WebLogicHost ADMINVHN WeblogicPort 7001 </Location> <Location /em> SetHandler weblogic-handler WebLogicHost ADMINVHN WeblogicPort 7001 </Location> <Location /oamconsole> SetHandler weblogic-handler WebLogicHost ADMINVHN WebLogicPort 7001 </Location> </VirtualHost>
Restart the Oracle HTTP Server, as described in Section 21.1, "Starting and Stopping Oracle Identity Management Components."
This section contains the following topics:
Section 14.7.2, "Configuring Oracle Access Manager by Using the IDM Automation Tool"
Section 14.7.7, "Configuring Oracle Access Manager for Multidirectory Support"
By default, Oracle Access Manager is configured to use the Open security model. If you plan to change this mode using idmConfigTool
, you must set a global passphrase. Although you need not set the global passphrase and the web gate access password to be the same, it is recommended that you do.You do this by performing the following steps.
Log in to the OAM console at the URL listed in Section 21.2, "About Identity Management Console URLs."
as the WebLogic administration user.
Click the System Configuration tab.
Click Access Manager Settings located in the Access Manager Settings section.
Select Open from the Actions menu. The access manager settings are displayed.
If you have changed the security mode to Simple, supply a global passphrase.
Click Apply.
Now that the initial installation is done and the security model set, the following tasks must be performed:
Oracle Access Manager must be configured to use an external LDAP Directory (idstore.mycompany.com
).
Oracle Access Manager WebGate Agent must be created.
You perform these tasks by using idmConfigTool
.
Perform the following tasks on IDMHOST1:
Set the environment variables MW_HOME
, JAVA_HOME
, IDM_HOME
and ORACLE_HOME
.
Set IDM_HOME
to IDM_ORACLE_HOME
.
Set ORACLE_HOME
to IAM_ORACLE_HOME
.
Create a properties file called config_oam1.props
with the following contents:
WLSHOST: adminvhn.mycompany.com WLSPORT: 7001 WLSADMIN: weblogic WLSPASSWD: weblogic password IDSTORE_HOST: idstore.mycompany.com IDSTORE_PORT: 389 IDSTORE_DIRECTORYTYPE:OVD IDSTORE_BINDDN: cn=orcladmin IDSTORE_USERNAMEATTRIBUTE: cn IDSTORE_LOGINATTRIBUTE: uid IDSTORE_USERSEARCHBASE: cn=Users,dc=mycompany,dc=com IDSTORE_SEARCHBASE: dc=mycompany,dc=com IDSTORE_GROUPSEARCHBASE: cn=Groups,dc=mycompany,dc=com IDSTORE_OAMSOFTWAREUSER: oamLDAP IDSTORE_OAMADMINUSER: oamadmin PRIMARY_OAM_SERVERS: idmhost1.mycompany.com:5575,idmhost2.mycompany.com:5575 WEBGATE_TYPE: ohsWebgate10g ACCESS_GATE_ID: Webgate_IDM OAM11G_IDM_DOMAIN_OHS_HOST:sso.mycompany.com OAM11G_IDM_DOMAIN_OHS_PORT:443 OAM11G_IDM_DOMAIN_OHS_PROTOCOL:https OAM11G_WG_DENY_ON_NOT_PROTECTED: false OAM_TRANSFER_MODE: simple OAM11G_OAM_SERVER_TRANSFER_MODE:simple OAM11G_IDM_DOMAIN_LOGOUT_URLS: /console/jsp/common/logout.jsp,/em/targetauth/emaslogout.jsp OAM11G_OIM_WEBGATE_PASSWD: webgate password OAM11G_SERVER_LOGIN_ATTRIBUTE: uid COOKIE_DOMAIN: .mycompany.com OAM11G_IDSTORE_ROLE_SECURITY_ADMIN: OAMAdministrators OAM11G_SSO_ONLY_FLAG: true OAM11G_OIM_INTEGRATION_REQ: true OAM11G_IMPERSONATION_FLAG:true OAM11G_SERVER_LBR_HOST:sso.mycompany.com OAM11G_SERVER_LBR_PORT:443 OAM11G_SERVER_LBR_PROTOCOL:https COOKIE_EXPIRY_INTERVAL: 120 OAM11G_OIM_OHS_URL:https://sso.mycompany.com:443/ OAM11G_SERVER_LOGIN_ATTRIBUTE: uid
Where:
WLSHOST
and WLSPORT
are, respectively, the host and port of your administration server, created in Chapter 8, "Creating a Domain for an Enterprise Deployment." This is the virtual name.
WLSADMIN
and WLSPASSWD
are, respectively, the WebLogic administrative user and password you use to log in to the WebLogic console.
IDSTORE_HOST
and IDSTORE _PORT
are, respectively, the host and port of your Identity Store directory.
IDSTORE_BINDDN
is an administrative user in the Identity Store directory.
IDSTORE_USERSEARCHBASE
is the container under which Oracle Access Manager searches for the users.
IDSTORE_GROUPSEARCHBASE
is the location in the directory where Groups are stored.
IDSTORE_SEARCHBASE
is the location in the directory where Users and Groups are stored.
IDSTORE_OAMSOFTWAREUSER
is the name of the user you created in Section 11.5, "Preparing the Identity Store" to be used to interact with LDAP.
IDSTORE_OAMADMINUSER
is the name of the user you created in Section 11.5, "Preparing the Identity Store" to access your OAM Console.
PRIMARY_OAM_SERVERS
is a comma separated list of your Oracle Access Manager Servers and the proxy ports they use.
Note:
To determine the proxy ports your OAM Servers use:
Log in to the OAM console at the URL listed in Section 21.2, "About Identity Management Console URLs."
Click the System Configuration tab.
Expand Server Instances under the Common Configuration section
Click an Oracle Access Manager server, such as WLS_OAM1, and click Open.
Proxy port is the one shown as Port.
ACCESS_GATE_ID
is the name you want to assign to the WebGate.
OAM11G_OIM_WEBGATE_PASSWD
is the password you will assign to the WebGate after OIM has been configured
OAM11G_IDM_DOMAIN_OHS_HOST
is the name of the load balancer which is in front of the OHS's.
OAM11G_IDM_DOMAIN_OHS_PORT
is the port that the load balancer listens on.
OAM11G_IDM_DOMAIN_OHS_PROTOCOL
is the protocol to use when directing requests at the load balancer.
OAM11G_OAM_SERVER_TRANSFER_MODE
is the security model that the Oracle Access Manager servers function in, as defined in Section 14.7.1, "Setting a Global Passphrase."
OAM11G_IMPERSONATION_FLAG
is set to True
if you are using Oracle Fusion Applications.
OAM11G_IDM_DOMAIN_LOGOUT_URLS
is set to the various logout URLs.
OAM11G_SSO_ONLY_FLAG
configures Oracle Access Manager 11g as authentication only mode or normal mode, which supports authentication and authorization. This is set to true
for Fusion Applications.
If OAM11G_SSO_ONLY_FLAG
is true
, the Oracle Access Manager 11g server operates in authentication only mode, where all authorizations return true by default without any policy validations. In this mode, the server does not have the overhead of authorization handling. This is recommended for applications which do not depend on authorization policies and need only the authentication feature of the Oracle Access Manager server.
If the value is false
, the server runs in default mode, where each authentication is followed by one or more authorization requests to the Oracle Access Manager server. WebGate allows the access to the requested resources or not, based on the responses from the Oracle Access Manager server.
OAM11G_SERVER_LBR_HOST
is the name of the load balancer fronting your site. This and the following two parameters are used to construct your login URL.
OAM11G_SERVER_LBR_PORT
is the port that the load balancer is listening on.
OAM11G_SERVER_LBR_PROTOCOL
is the URL prefix to use.
COOKIE_DOMAIN
is the domain in which the WebGate functions.
WEBGATE_TYPE
is the type of WebGate agent you want to create. In this release, the value is ohsWebgate10g
.
OAM11G_IDSTORE_NAME
is the name of the Identity Store. If you already have an Identity Store in place which is different from the default created by this tool, set this parameter to the name of that Identity Store.
OAM11G_OIM_OHS_URL
is the URL that will be used to access OIM when accessing through the load balancer, after OIM is configured.
OAM11G_SERVER_LOGIN_ATTRIBUTE
: Setting this to uid
ensures that when users log in their username is validated against the uid
attribute in LDAP.
Configure Oracle Access Manager using the command idmConfigTool
which is located at:
IAM_ORACLE_HOME
/idmtools/bin
Note:
When you run the idmConfigTool
, it creates or appends to the file idmDomainConfig.param
. This file is generated in the same directory that the idmConfigTool
is run from. To ensure that each time the tool is run, the same file is appended to, always run the idmConfigTool
from the directory:
IAM_ORACLE_HOME
/idmtools/bin
The syntax of the command on Linux is:
idmConfigTool.sh -configOAM input_file=configfile
The syntax on Windows is:
idmConfigTool.bat -configOAM input_file=configfile
For example:
idmConfigTool.sh -configOAM input_file=config_oam1.props
When the command runs you are prompted to enter the password of the account you are connecting to the Identity Store with. You are also asked to specify the passwords you want to assign to these accounts:
IDSTORE_PWD_OAMSOFTWAREUSER
IDSTORE_PWD_OAMADMINUSER
Sample command output:
Enter ID Store Bind DN password : Enter User Password for OAM11G_WLS_ADMIN_PASSWD: Confirm User Password for OAM11G_WLS_ADMIN_PASSWD: Enter User Password for OAM11G_IDM_DOMAIN_WEBGATE_PASSWD: Confirm User Password for OAM11G_IDM_DOMAIN_WEBGATE_PASSWD: Enter User Password for IDSTORE_PWD_OAMSOFTWAREUSER: Confirm User Password for IDSTORE_PWD_OAMSOFTWAREUSER: Enter User Password for IDSTORE_PWD_OAMADMINUSER: Confirm User Password for IDSTORE_PWD_OAMADMINUSER: The tool has completed its operation. Details have been logged to automation.log
Check the log file for any errors or warnings and correct them. A file named automation.log
is created in the directory where you run the tool.
Restart WebLogic Administration Server as described in Section 21.1, "Starting and Stopping Oracle Identity Management Components."
Note:
After you run idmConfigTool
, several files are created that you need for subsequent tasks. Keep these in a safe location.
The following files exist in the directory DOMAIN_HOME
/output/Webgate_IDM
. You need these when you install the WebGate software.
logout.html
ObAccessClient.xml
password.xml
aaa_cert.pem
aaa_key.pem
To Validate that this has completed correctly.
Access the OAM console at the URL listed in Section 21.2, "About Identity Management Console URLs."
Log in as the Oracle Access Manager administration user you created in Section 11.5, "Preparing the Identity Store."
Click the System Configuration tab
Expand Access Manager Settings - SSO Agents - OAM Agents.
Click the open folder icon, then click Search.
You should see the WebGate agent Webgate_IDM
, which you created in Section 14.7.2, "Configuring Oracle Access Manager by Using the IDM Automation Tool."
After generating the initial configuration, you must edit the configuration and add advanced configuration entries.
Select System Configuration Tab
Select Access Manager Settings - SSO Agents - OAM Agent from the directory tree. Double-click or select the open folder icon.
On the displayed search page click Search to perform an empty search.
Click the Agent Webgate_IDM
.
Select Open from the Actions menu.
Set Max Connections to 4
for all of the Oracle Access Manager servers listed in the primary servers list.
Click Apply.
Click Policy Configuration tab.
Double Click IAMSuiteAgent under Host Identifiers.
Click +
in the operations box.
Enter the following information:
Host Name: admin.mycompany.com
Port: 80
Host Name: oimadmin.mycompany.com
Port: 80
Click Apply.
If you have changed the OAM security model using the idmConfigTool you must change the security model used by any existing Webgates to reflect this change.
To do this, perform the following steps:
Log in to the OAM console as the Oracle Access Manager administration user you created in Section 11.5, "Preparing the Identity Store," at the URL listed in Section 21.2, "About Identity Management Console URLs."
Click the System Configuration tab.
Expand Access Manager Settings - SSO Agents.
Click OAM Agents and select Open from the Actions menu.
In the Search window, click Search.
Click each Agent that was not created by idmconfigTool
in Section 14.7.2, "Configuring Oracle Access Manager by Using the IDM Automation Tool", for example: IAMSuiteAgent.
Set the Security value to the new security model.
Click Apply.
Restart the managed servers WLS_OAM1 and WLS_OAM2 as described in Section 21.1, "Starting and Stopping Oracle Identity Management Components."
Perform the following workaround for Bug 13824816:
Launch Oracle Directory Services Manager at: http://admin.mycompany.com:80/odsm
Connect to an Oracle Internet Directory instance.
Click the Data Browser tab.
Expand the Client View entry in the directory tree, then expand cn=Groups.
Click cn=IDM Administrators.
In the uniquemember box, click +
to add a new entry.
Enter cn=oamadministrators,cn=groups,dc=mycompany,dc=com
Click Apply.
Ensure that the data store configured in Oracle Access Manager refers to the search base used in Oracle Virtual Directory, dc=mycompany,dc=com
.
Follow these steps to update the search base:
Log in to the OAM console at the URL listed in Section 21.2, "About Identity Management Console URLs."
Click System Configuration.
Expand Common Configuration.
Expand Data Sources.
Expand User Identity Stores.
Double click the store used with Oracle Virtual Directory.
Ensure that the User search base and Group search base fields have the value dc=mycompany,dc=com
.
The oamadmin
user is assigned to the Oracle Access Manager Administrators group, which is in turn assigned to the Access System Administrators group. Fusion Applications, however, requires the oamadmin
user to be explicitly added to that role. To do this perform the following steps:
Log in to the oamconsole at the URL listed in Section 21.2, "About Identity Management Console URLs."
Click the System Configuration tab.
Expand Data Sources - User Identity Stores.
Click OIMIDStore.
Click Open.
Click the +
symbol next to Access System Adminsitrators.
Type oamadmin
in the search box and click Search.
Click the returned oamadmin row, then click Add Selected.
Click Apply.
You can validate Oracle Access Manager by using the oamtest
tool. To do this, perform the following steps:
Ensure that JAVA_HOME
is set in your environment.
Add JAVA_HOME
/bin
to your PATH
, for example:
export PATH=$JAVA_HOME/bin:$PATH
Change directory to:
IAM_HOME
/oam/server/tester
Start the test tool in a terminal window using the command:
java -jar oamtest.jar
When the OAM test tool starts, enter the following information in the Server Connection section of the page:
Primary IP Address: idmhost1.mycompany.com
Port: 5575
Agent ID: Webgate_IDM
Agent Password: webgate password
Note:
if you configured simple mode, you must select Simple and provide the global passphrase.
Click Connect.
In the status window you see:
[reponse] Connected to primary access server
In the Protected Resource URI section enter:
Scheme: http
Host: admin.mycompany.com
Port: 80
Resource: /oamconsole
Click Validate.
In the status widow you see:
[request][validate] yes
In the User Identity window, enter:
Username: oamadmin
Password: oamadmin password
Click Authenticate.
In the status window, you see:
[request] [authenticate] yes
Click Authorize.
In the status window you see.
[request] [authenticate] yes
The following is an example of a test:
Repeat this test for each access server in the topology, remembering to change the connection details for each server.
If you are integrating other components, such as Oracle Identity Manager and Oracle Adaptive Access Manager, with Oracle Access Manager and Oracle Access Manager is using the simple security transport model, you must generate a keystore that can be used with those components. The procedure to do this is outlined in this section. Run it on IDMHOST1.
This section contains the following topics:
Section 14.10.1, "Creating an Empty Trust Store File Named oamclient-truststore.jks"
Section 14.10.2, "Importing the CA Certificate into the Trust Store"
To create this file, you use a tool called keytool
that comes with the JDK (Java Development Kit). Before running any of the following commands, ensure that the JDK is in your path. For example
export JAVA_HOME=MW_HOME/jrockit_version
export PATH=$JAVA_HOME/bin:$PATH
First, execute the command:
keytool -genkey -alias alias_name -keystore PathName_to_Keystore -storetype JKS
The command prompts you for a keystore password. This password MUST be same as the global pass phrase used in the Oracle Access Manager server. The command also prompts for information about the user and organization. Enter relevant information.
Example:
keytool -genkey -alias oam -keystore oamclient-truststore.jks -storetype JKS
Sample output:
Enter keystore password: Re-enter new password: What is your first and last name? [Unknown]: John Doe What is the name of your organizational unit? [Unknown]: MAA What is the name of your organization? [Unknown]: Oracle What is the name of your City or Locality? [Unknown]: Redwood Shores What is the name of your State or Province? [Unknown]: CA What is the two-letter country code for this unit? [Unknown]: US Is CN=John Doe, OU=MAA, O=Oracle, L=Redwood Shores, ST=CA, C=US correct? [no]: yes Enter key password for <oam> (RETURN if same as keystore password): Re-enter new password:
Then execute the command:
keytool -delete -alias alias_name -keystore oamclient-truststore.jks -storetype JKS
For example:
keytool -delete -alias oam -keystore oamclient-truststore.jks -storetype JKS
The command prompts for the keystore password you entered previously.
Oracle Access Manager 11g comes with a self-signed Certificate Authority that is used in Simple mode to issue certificates for the Access Client. This certificate must be added to the keystore you just created.
The certificate resides in the file cacert.der
, which is located in the directory IAM_ORACLE_HOME
/oam/server/config
. Execute the following command to import a PEM/DER format CA certificate into the trust store. On Linux and UNIX-based systems, type:
keytool -importcert -file IAM_ORACLE_HOME/oam/server/config/cacert.der -trustcacerts -keystore PathName_to_keystore -storetype JKS
On Windows, type:
keytool -import -file IAM_ORACLE_HOME\oam\server\config\cacert.der -trustcacerts -keystore PathName_to_keystore -storetype JKS
Enter keystore password when prompted.
Example:
keytool -importcert -file /IAM_ORACLE_HOME/oam/server/config/cacert.der -trustcacerts -keystore oamclient-truststore.jks -storetype JKS
Sample output:
Enter keystore password: Owner: CN=NetPoint Simple Security CA - Not for General Use, OU=NetPoint, O="Oblix, Inc.", L=Cupertino, ST=California, C=US Issuer: CN=NetPoint Simple Security CA - Not for General Use, OU=NetPoint, O="Oblix, Inc.", L=Cupertino, ST=California, C=US Serial number: 0 Valid from: Wed Apr 01 05:57:22 PDT 2009 until: Thu Mar 28 05:57:22 PDT 2024 Certificate fingerprints: MD5: 05:F4:8C:84:85:37:DB:E3:66:87:EF:39:E0:E6:B2:3F SHA1: 97:B0:F8:19:7D:0E:22:6B:40:2A:73:73:1B:27:B2:7B:8D:64:82:21 Signature algorithm name: MD5withRSA Version: 1 Trust this certificate? [no]: yes Certificate was added to keystore
An SSL certificate and private key were generated when you ran the idmConfigTool
command in Section 14.7.2, "Configuring Oracle Access Manager by Using the IDM Automation Tool." The SSL certificate and key are required for clients to communicate with Oracle Access Manager in Simple mode. The names of these files are, respectively, aaa_cert.pem
and aaa_key.pem
. They are located in the directory DOMAIN_HOME
/output/Webgate_IDM
on IDMHOST1, where DOMAIN_HOME
is the Administration Server Domain home.
Execute the following commands to import the certificate and key file into the keystore file ssoKeystore.jsk
.
Unzip the file importcert.zip
, which is located in the directory:
IAM_ORACLE_HOME
/oam/server/tools/importcert
For example:
cd IAM_ORACLE_HOME/oam/server/tools/importcert
unzip importcert.zip
Execute the command:
openssl pkcs8 -topk8 -nocrypt -in DOMAIN_HOME/output/Webgate_IDM/aaa_key.pem -inform PEM -out aaa_key.der -outform DER
The command prompts for a passphrase. Enter the password, which must be the WebGate access password. This command creates the aaa_key.der
file in the directory where the command is run
Example:
openssl pkcs8 -topk8 -nocrypt -in /u01/app/oracle/admin/IDMDomain/aserver/IDMDomain/output/Webgate_IDM/aaa_key.pem -inform PEM -out aaa_key.der -outform DER Enter pass phrase for /u01/app/oracle/admin/IDMDomain/aserver/IDMDomain/output/Webgate_IDM/aaa_key.pem:
Then execute:
openssl x509 -in /u01/app/oracle/admin/IDMDomain/aserver/IDMDomain/output/Webgate_IDM/aaa_cert.pem -inform PEM -out aaa_cert.der -outform DER
This command creates the aaa_cert.der
file in the directory where the command is run. This command does not generate any output.
Execute the command:
java -cp IAM_ORACLE_HOME/oam/server/tools/importcert/importcert.jar oracle.security.am.common.tools.importcerts.CertificateImport -keystore ssoKeystore.jks -privatekeyfile aaa_key.der -signedcertfile aaa_cert.der -storetype jks -genkeystore yes
This command creates the ssoKeystore.jks
file in the directory where the command is run.
In this command, aaa_key.der
and aaa_cert.der
are, respectively, the private key and certificate pair in DER format.
Sample output:
Enter Keystore password: Certificates imported to ssoKeystore.jks
Add the CA certificate to the newly generated ssoKeystore.jks. On Linux or UNIX, type:
keytool -importcert -file IAM_ORACLE_HOME/oam/server/config/cacert.der -trustcacerts -keystore PathName_to_keystore -storetype JKS
On Windows, type:
keytool -import -file IAM_ORACLE_HOME\oam\server\config\cacert.der -trustcacerts -keystore PathName_to_keystore -storetype JKS
Enter keystore password when prompted. For example:
keytool -importcert -file /IAM_ORACLE_HOME/oam/server/config/cacert.der -trustcacerts -keystore ssoKeystore.jks -storetype JKS
Note:
The files ssoKeystore.jks
and oamclient-truststore.jks
are required when you integrate Oracle Access Manager running in Simple mode with Oracle Identity Management or Oracle Access Manager. When you integrate these components, you are asked to copy these files to the DOMAIN_HOME
/config/fmwconfig
directory. If you subsequently extend the domain on machines where these files have been placed using pack
/unpack
, you must recopy ssoKeystore.jks
and oamclient-truststore.jks
after unpacking.
Update DOMAIN_HOME
/config/fmwconfig/oam-config.xml
in the administration server domain home as follows:
Set the flagNoUniqueSessionsFor10gAgents
to true
. The block of text containing that flag will look like this when you have finished editing:
<Setting Name="oamproxy" Type="htf:map"> <Setting Name="SSOOnlyMode" Type="xsd:boolean">true</Setting> <Setting Name="NoUniqueSessionsFor10gAgents" Type="xsd:boolean">true</Setting> ...... ...... </Setting>
Set the parameters Timeout, Expiry, and MaxSessionsPerUser as follows:
Log in to the OAM console at the URL listed in Section 21.2, "About Identity Management Console URLs." as oamadmin
.
Select the System Configuration tab.
Click Common Settings under the Common Configuration entry.
Click Open.
Set the following values:
Idle Timeout (minutes): 120
Session Lifetime: 120
Maximum Number of Sessions per user: 200
Click Apply.
It is an Oracle best practices recommendation to create a backup after successfully completing the installation and configuration of each tier, or at another logical point. Create a backup after verifying that the installation so far is successful. This is a quick backup for the express purpose of immediate restoration in case of problems in later steps. The backup destination is the local disk. You can discard this backup when the enterprise deployment setup is complete. After the enterprise deployment setup is complete, you can initiate the regular deployment-specific Backup and Recovery process. For more details, see the Oracle Fusion Middleware Administrator's Guide.
For information on database backups, refer to the Oracle Database Backup and Recovery User's Guide.
To back up the installation to this point, follow these steps:
Back up the web tier as described in Section 7.7, "Backing up the Web Tier Configuration."
Back up the Oracle Access Manager database. This is a full database backup, either hot or cold. The recommended tool is Oracle Recovery Manager.
Back up the Administration Server domain directory as described in Section 8.8, "Backing Up the WebLogic Domain."
Back up the Oracle Internet Directory as described in Section 9.8, "Backing up the Oracle Internet Directory Configuration."
Back up the Oracle Virtual Directory as described in Section 12.8, "Backing Up the Oracle Virtual Directory Configuration."
For information about backing up the application tier configuration, see Section 21.6, "Performing Backups and Recoveries."