This document provides instructions for installing SSL Certificates on BEA Weblogic 8.0. 9.0, 10.0, 11.0, and 12.x. If you are unable to use these instructions for your server, Symantec recommends that you contact either the vendor of your software or an organization that supports Weblogic.
Step 1. Download Symantec CA Certificates:
- Download the Intermediate CA certificate from this link: INFO657
- Click on Managed PKI for SSL tab
- Select the appropriate Intermediate CA certificate for your SSL Certificate type.
NOTE: To check which certificate you have purchased, follow the steps from this link: SO22021
- Copy the Intermediate CA certificate and paste it on a Notepad.
- Make sure there are 5 dashes to either side of the BEGIN CERTIFICATE and END CERTIFICATE and that no white spaces, extra line breaks or additional characters have been inadvertently added.
- Save the file as Intermediate.txt
Step 2. Obtain the SSL Certificate
- Once your Managed PKI for SSL administrator has approved your Certificate request, you will receive an email with
the Certificate attached (cert.cer), as well as in the body of the email itself.
- Copy the certificate, imbedded in the body of the email and paste it into a text file using Vi or Notepad.
NOTE: Do not use Microsoft Word or other word processing programs that may add characters.
Confirm that there are no extra lines or spaces in the file.
The text file should look like:
NOTE: To download the certificate from your Managed PKI for SSL subscriber services page, see solution SO6621
Please select X.509 as a certificate format and copy only the End Entity Certificate.
- Open the Intermediate.txt file from Step 1, copy the content and paste it right bellow your certificate.
- The file should look like this when finished:
(Your SSL certificate)
Save the file as Mycert.pem
Step 3: Install the SSL Certificate
- Using the java keytool command line utility, import the pem file you created above using the following command:
keytool -import -alias your_alias_name -trustcacerts -file Mycert.pem -keystore your_keystore_filename
NOTE: The command should be typed on one line. This command imports the certificate into the keystore named mykeystore in the working directory. Your keystore path and name may be different.
Step 4: Configure the Identity and Trust keystores for WebLogic Server
- In the left pane of the Console, expand Environment and select Servers.
- Click the name of the server for which you want to configure the identity and trust keystores.
- Select Configuration > Keystores.
- By default, WebLogic ships with demo certificates for testing purposes.
- Click the 'Change' link in the upper-right portion of the configuration items. This will display the drop-down list of options for configuration.
- Choose 'Custom Identity and Java Standard Trust' from the list.
- Specify the identity keystore information:
- Custom Identity key store file Name: c:wheremykeystoreislocatedmykeystore.keystore (The fully qualified path to your keystore)
- Custom Identity key Store Type: jks (Generally, this attribute is jks)
- Custom Identity key Store Pass Phrase: keystore_password (The password defined when creating the keystore)
- Confirm Customer Identity key Store Pass Phrase: Keystore_password (The password defined when creating the keystore)
- Java standard Trust Key Store Pass Phrase: changeit (unless your system admin changed it the password for the cacerts keystore is "changeit"
- Confirm Java Standard Trust Key Store Pass Phrase: changeit (unless your system admin changed it the password for the cacerts keystore is "changeit")
- Click 'continue'
[Review SSL Private Key Settings]
- Click 'continue'
- Click Finish.
- Reboot WebLogic Server.
- Verify certificate installation using the Symantec Installation Checker
For more information, refer to Weblogic documentation