Tips & Tricks: How to crawl a SSL enabled Oracle E-Business Suite

Posted by Rajesh Ghosh on Oracle Blogs See other posts from Oracle Blogs or by Rajesh Ghosh
Published on Fri, 14 May 2010 08:33:00 +0000 Indexed on 2010/05/14 8:45 UTC
Read the original article Hit count: 407

Filed under:

Oracle E-Business Suite can be integrated with Oracle Secure Enterprise Search for a superior end user experience and enhanced data retrieval capabilities. Before end-users can perform search operations, data has to be crawled and indexed into Oracle SES server. However if the Oracle E-Business Suite instance is on SSL, some additional configurations are needed in Oracle SES server as well as in Oracle Search Modeler, before a search object can be deployed and crawled.

The process involves the following steps:

Step 1: Export the SSL certificate of Oracle E-Business Suite

Access the Oracle E-business Suite instance from a web browser. You should be able to locate a security or certificate icon somewhere in the browser toolbar or status bar, depending on which browser you are using. Click on it and you should be able to view the certificate as well as export it to a local file. While exporting make sure that you use “DER encoded” format.

Step 2: Import the SSL certificate into Oracle Secure Enterprise server’s java key-store

Oracle SES (10.1.8.4) by default ships a JDK under $ORACLE_HOME. The Oracle SES mid-tier uses this jdk to start the oc4j container services. In this step the Oracle E-Business Suite’s SSL certificate which has been exported in step #1, has to be imported into the Oracle SES server’s java key store. Perform the following:

  1. Copy the certificate file onto the server where Oracle SES server is running; under $ORACLE_HOME/jdk/jre/lib/security/cacerts. “ORACLE_HOME” points to the Oracle SES oracle home.
  2. Set the JAVA_HOME environment variable to $ORACLE_HOME/jdk.
  3. Append $JAVA_HOME/bin to the PATH environment variable
  4. Issue the command :  “keytool -import -keystore keystore.jks -trustcacerts -alias myOHS –file ebs.crt” . Please substitute “ebs.crt” with the name of the certificate file you copied in step #2.1. The default key-store password “changeit”. Enter the same when prompted. If successful this process will end with a message saying “certificate successfully imported”.

Step 3: Import the SSL certificate into Search Modeler java key-store

Unlike Oracle SES, Search Modeler is not shipped with a bundled JDK. If you are using standalone OC4J, then you actually use an external JDK to start the oc4j container services. If you are using IAS instance then the JDK comes bundled with the IAS installation. Perform the following:

  1. Copy the certificate file onto the server where Search Modeler application is running; under $JDK_HOME/jre/lib/security/cacerts. “JDK_HOME” points to the JDK directory depending on whether you are using external JDK or a bundled one.
  2. Set the JAVA_HOME environment variable to JDK directory.
  3. Append $JAVA_HOME/bin to the PATH environment variable
  4. Issue the command :  “keytool -import -keystore keystore.jks -trustcacerts -alias myOHS –file ebs.crt” . Please substitute “ebs.crt” with the name of the certificate file you copied in step #3.1. The default key-store password “changeit”. Enter the same when prompted. If successful this process will end with a message saying “certificate successfully imported”.

Once you have completed the above steps successfully, you can deploy the search objects using Search Modeler and then start crawling them as well.

© Oracle Blogs or respective owner