17 Configuring an SSL Connection Between the EnterpriseOne HTML Server and Oracle BI Publisher Server for One View Reporting

This chapter contains the following topics:

17.1 Understanding an SSL Configuration for EnterpriseOne One View Reporting

Secure Sockets Layer (SSL) is a cryptographic protocol that enables secure communication between applications across a network. Enabling SSL communication provides several benefits, including message encryption, data integrity, and authentication. An encrypted message ensures confidentiality in that only authorized users have access to it. Data integrity ensures that a message is received intact without any tampering. Authentication guarantees that the person sending the message is who he or she claims to be.

EnterpriseOne One View Reporting requires installing Oracle BI Publisher Server and configuring a connection with EnterpriseOne HTML Server. The Oracle BI Publisher Server uses a TCP/IP by default. You can configure SSL between Oracle BI Publisher and EnterpriseOne HTML Server to ensure secure network communication.

For more information about the installation and configuration of Oracle BI Publisher for EnterpriseOne One View Reporting, see "Installing and Configuring One View Reporting" in the JD Edwards EnterpriseOne Tools One View Administration Guide.

17.2 Implementing the SSL Connection for EnterpriseOne One View Reporting

Secure communication over SSL requires certificates signed by a certificate authority (CA). For internal communication, the SSL everywhere feature creates both the private certificate authority and the certificates for you. The internal certificates cannot be used for the outward facing web server because user web browsers are not aware of the private certificate authority. The web server must therefore be provided with a web server certificate signed by an externally recognized certificate authority.

You must perform the tasks in this section in the order listed here. The tasks include:

17.2.1 Enabling an SSL Connection on the EnterpriseOne HTML Server

This section contains the following tasks:

Important:

This section contains instructions for enabling an SSL connection on WebLogic Server. Enabling SSL on IBM WebSphere Application Server is described in the JD Edwards EnterpriseOne HTML Server on WebSphere Reference Guide. See the "Reference" tab in the JD Edwards EnterpriseOne Installation and Upgrade Documentation Library to locate the appropriate reference guide for your platform:

http://docs.oracle.com/cd/E24902_01/nav/reference.htm

Enabling an SSL connection on Oracle WebLogic Server for the EnterpriseOne HTML Server

  1. Log in to Oracle WebLogic Server Administration Console.

  2. In the Change Center, click Lock & Edit.

  3. Expand the Environment node and click Servers to display the summary of Servers.

  4. Click the server for which you want to enable SSL.

  5. Select the General tab.

  6. Select SSL Listen Port Enabled.

    You can either keep the default SSL port or change it to your own port.

  7. Click Save and then click Activate Changes.

  8. Restart the server.

Using the keytool Feature to Generate a Self-Signed Certificate on the EnterpriseOne HTML Server

  1. Sign in to the EnterpriseOne HTML Server.

  2. Change the directory to the Java_Home of Oracle WebLogic Server.

  3. Locate keytool from Java_Home/jdk/bin

  4. Enter the following command to create the certificate:

    ./keytool -genkeypair -v -keyalg RSA -dname "cn=server.mycompany.com" -alias jasserverkey -keystore jaskeystore.jks -validity 365

    where server.mycompany.com is the name of your EnterpriseOne HTML Server; the Validity field is in a "number of days" format.

    Note:

    You will be prompted for passwords.The default password for cacerts keystore is changeit.
  5. Export the certificate to a keystore using the following command:

    ./keytool -exportcert -v -alias jasserverkey -keystore jaskeystore.jks -rfc -file jascert.cer

  6. Import the certificate to the existing keystore using the following command:

    ./keytool -importcert -trustcacerts -alias jasserverkey -file <path>/jascert.cer -keystore../jre/lib/security/cacerts

Configuring WebLogic Server to Use the Custom Keystore

  1. Sign in to the WebLogic Server Administration Console and select your EnterpriseOne HTML Server instance.

  2. Select the Keystores tab.

    This image is described in surrounding text.
  3. In the Keystores field, change the keystore to Custom Identity and Java Standard Trust.

  4. In the Custom Identity Keystore field, enter the location of the EnterpriseOne HTML Server keystore.jks file.

  5. In the Custom Identity Keystore Type field, enter JKS.

  6. Enter the password in the Custom Identity Keystore Passphrase fields.

  7. Click Save and then select the SSL tab.

    This image is described in surrounding text.
  8. In the Private Key Alias field, enter the alias, and then enter the password in the Private Key Passphrase field.

  9. Click Save and then click Activate Changes.

  10. Restart the server.

  11. Test the SSL URL, for example: https://host:sslport/jde/E1Menu.maf

17.2.2 Enabling an SSL Connection on the Oracle BI Publisher Server

This section contains the following tasks:

Enabling SSL on Oracle WebLogic Server for the Oracle BI Publisher Server

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. In the Change Center, click Lock & Edit.

  3. Expand the Environment node and click Servers to display the summary of Servers.

  4. Click the server, for example bi_server1, for which you want to enable SSL.

  5. Select the General tab.

  6. Select SSL Listen Port Enabled.

    You can either keep the default SSL port or change it to your own port.

  7. Click Save and then click Activate Changes.

  8. Restart the server.

Using the keytool Feature to Generate a Self-Signed Certificate on Oracle BI Publisher Server

  1. Change directory to MW_Home/Oracle_BI1/jdk directory.

  2. Locate the keytool from MW_Home/Oracle_BI1/jdk/bin.

  3. Enter the following command to create the certificate:

    ./keytool -genkeypair -v -keyalg RSA -dname "cn=server.mycompany.com" -alias bipserverkey -keystore bipkeystore.jks -validity 365

    server.mycompany.com is your BI Publisher server name; the Validity field is in a "number of days" format.

    Note:

    You will be prompted for passwords.The default password for cacerts keystore is changeit.
  4. Use the following command to export the certificate to a keystore:

    ./keytool -exportcert -v -alias bipserverkey -keystore bipkeystore.jks -rfc -file bipcert.cer

  5. Use the following command to import the certificate to the existing keystore:

    ./keytool -importcert -trustcacerts -alias bipserverkey -file <path>/bipcert.cer -keystore ../jre/lib/security/cacerts

Configuring the Oracle BI Publisher Server to Use the Custom Keystore

  1. Sign in to the WebLogic Administration Console and select your bi_server1 instance.

  2. Select the Keystores tab.

    This image is described in surrounding text.
  3. In the Keystores field, change the keystore to Custom Identity and Java Standard Trust.

  4. In the Custom Identity Keystore field, enter the location of the BI Publisher keystore.jks file.

  5. In the Custom Identity Keystore Types field, enter JKS.

  6. Enter the password in the Passphrase fields.

  7. Click Save and then select the SSL tab.

    This image is described in surrounding text.
  8. In the Private Key Alias field, enter the alias, and then enter the password in the Private Key Passphrase fields.

    Note:

    For Oracle BI Publisher with JDK 1.7, you need to enable the "Use JSSE SSL" check box in the Advanced Section on the SSL tab.
  9. Click Save and then click Activate Changes.

  10. Restart the BI Publisher server.

  11. Test the SSL URL, for example: https://host:sslport/xmlpserver

17.2.3 Setting Up the EnterpriseOne HTML Certificate

This section contains the following tasks:

Installing the EnterpriseOne HTML Certificate on the Web Browser

Install the EnterpriseOne HTML certificate that you generated following the steps in section Section 17.2.1.

  1. Enter the SSL URL of the EnterpriseOne HTML Server, for example:

    https://host:sslport/jde/E1Menu.maf

  2. If a security message appears warning you about the security certificate or whether the site can be trusted, select the option to continue.

    You will see a "Certificate Error" next to the URL address: This image is described in surrounding text.

  3. Click the error to view the certificate, making sure that you recognize the certificate that you created from the previous steps.

  4. Click Install Certificate.

    If you do not see the install option, then you need to add the server to the trusted site in the browser.

    This image is described in surrounding text.
  5. Install the certificate to "Trusted Root Certification Authorities."

  6. Restart the Browser and you should see a "lock" icon instead of the error: This image is described in surrounding text.

Exporting the EnterpriseOne HTML Certificate

  1. Click the Lock icon, and then click View Certificates.

  2. Click the Details tab.

  3. Depending on the browser you are using, click Export or Copy to File.

    The Export Wizard appears.

  4. Select the Base-64 encoded X.509 option.

  5. Name the export file and location.

  6. Transfer the export file to the BI Publisher Server.

Importing the HTML Certificate to the Oracle BI Publisher Server

  1. Copy the export cert file to your Oracle BI Publisher Server.

  2. Sign in to your Oracle BI Publisher Server.

  3. Change the directory to the MW_Home/Oracle_BI1/jdk/bin directory.

    MW_Home is your Fusion Middleware location.

    Note:

    The default keystore is on MW_home/Oracle_BI1/jdk/jre/lib/security/cacerts
  4. Execute the keytool command from MW_Home/Oracle_BI1/jdk/bin

    ./keytool -import -trustcacerts -file ../jascert_from_your_client.cer -keystore ../jre/lib/security/cacerts -alias jasserverkey

    It will prompt for keystore password; the default is "changeit".

  5. Add the keystore path to the JAVA_OPTION of setDomainEnv.sh (cmd).

    1. Open setDomainEnv.sh (cmd) from MW_Home/user_projects/domain/<domain>/bin

    2. Add the trustStore path to JAVA_OPTIONS:

      -Djavax.net.ssl.trustStore=<path>/cacerts (This is the location of your keystore)

    3. Restart the server.

17.2.4 Setting Up the Oracle BI Publisher Certificate

This sections contains the following tasks:

Installing the Oracle BI Publisher Certificate on the Web Browser

Install the BI Publisher certificate that you generated following the steps in section Section 17.2.2.

  1. Enter the SSL URL of the Oracle BI Publisher Server, for example:

    https://host:sslport/xmlpserver

  2. If a security message appears warning you about the security certificate or if the site can be trusted, select the option to continue.

    You will see a "Certificate Error" next to the URL address: This image is described in surrounding text.

  3. Click the error to view the certificate, and make sure you recognize the certificate that you created from the previous steps.

  4. Click Install Certificate.

    If you do not see the install option, then you need to add the server to the trusted site in the browser.

    This image is described in surrounding text.
  5. Install the certificate to "Trusted Root Certification Authorities".

  6. Restart the Browser and you should see a "Lock" icon instead of the error: This image is described in surrounding text.

Exporting the BI Publisher Certificate

  1. Click the Lock icon, and then click View Certificates.

  2. Click the Details tab.

  3. Depending on the browser you are using, click Export or Copy to File.

    The Export Wizard appears.

  4. Select the Base-64 encoded X.509 option.

  5. Name the export file and location.

  6. Transfer the export file to the EnterpriseOne HTML Server.

Importing the BI Publisher Certificate to EnterpriseOne HTML Server on WebLogic Server Only

  1. Copy the exported certificate file to your EnterpriseOne HTML Server.

  2. Sign in to the EnterpriseOne HTML server

  3. Change directory to Java_Home/jdk/bin directory

    Note:

    The default keystore is on Java_home/jdk/jre/lib/security/cacerts.
  4. Execute the keytool command from Java_Home/jdk/bin:

    ./keytool -import -trustcacerts -file ../bipcert_from_your_client.cer -keystore ../jre/lib/security/cacerts -alias bipserverkey

    It will prompt for keystore password; the default is "changeit".

  5. Add the keystore path to the JAVA_OPTION of setDomainEnv.sh (cmd).

    1. Open setDomainEnv.sh (cmd) from MW_Home/user_projects/domain/<domain>/bin

    2. Add the trustStore path to JAVA_OPTIONS:

      -Djavax.net.ssl.trustStore=<path>/cacerts

      This is the location of your keystore.

  6. Restart the server.

Importing the BI Publisher Certificate to EnterpriseOne HTML Server on IBM WebSphere Application Server Only

  1. Download the certificate from the BI Publisher server using "Base-64 encoded X.509" format and save it in the following folder:

    WebSphere/AppServer/profiles/AppSrv01/etc

  2. Sign in to the WebSphere Integrated Solution Console.

  3. In the "Related Items" area on the right, click Key Stores and certificates.

  4. Click NodeDefaultTrustStore and then click Singer certificate.

  5. Click Add.

  6. In the General Properties section, complete these fields:

    • Alias. Enter an alias for the certificate.

    • File name. Enter the certificate file name.

      This will enable the retrieval of the file from ../WebSphere/AppServer/profiles/AppSrv01/etc folder.

  7. Click Apply.

  8. Review the certificate information and click Save.

  9. Repeat steps 4 - 8 for the NodeDefaultKeyStore.

    Note:

    If you do not have the certificate saved in the WebSphere /etc folder, you can use Retrieve from port button instead of the Add button to retrieve the certificate.
  10. Restart the application server.

17.2.5 Editing the One View Reporting BI Publisher Soft Coding Record to Use the SSL Connection

To edit the soft coding record to use the SSL connection:

  1. Sign in to the EnterpriseOne Web client.

  2. In the Fast Path, enter P954000.

  3. Edit the One View Reporting BI Publisher soft coding record to use the HTTPS connection.

  4. Save the application.

  5. Sign off and sign in to the EnterpriseOne HTML Server.

  6. Test the SSL connection for One View Reporting.

Important:

You must restart all services for the changes to take effect.

17.3 Viewing a Certificate

You can use one of the following keytool commands to view an existing certificate:

./keytool -list -keystore <path>/cacerts (you can add -v for detail information)

Or

./keytool -list -alias jasserverkey -keystore <path>/cacerts

17.4 Deleting a Certificate

You can use the following keytool command to delete a certificate:

./keytool -delete -alias jasserverkey