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 Oracle.
Step 1. Download Symantec CA Certificate:
- Download the Intermediate CA certificate from this link: INFO657.
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: SO13499
- 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
- Symantec will send the SSL Certificate via e-mail. Copy the certificate from the body of the email.
NOTE: If you have a Symantec Trust Center account you can download the certificate by following the steps from this link: SO8061
When downloading the certificate, select the X.509 format and copy only the End Entity Certificate.
The text file should look like:
- 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.
- Paste the certificate on a Notepad
- 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 tomcat -keystore /path_to_keystore/mykeystore -file Mycert.pem
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:\where\my\keystore\is\located\mykeystore.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]
- Private key Alias: keyEntry_friendly_name (the alias is the friendly name for your keyEntry (private key), if you do not remember it please run the following command
to confirm the alias: keytool -list -keystore [keystore_friendly_name] -v)
- Passphrase: keyEntry_password (specify the keyEntry (private key) password. The password for the private key may differ from the one for the keystore)
- Confirm Passphrase: keyEntry_password (specify the keyEntry (private key) password. The password for the private key may differ from the one for the keystore)
- Click 'continue'
- Click Finish.
- Reboot WebLogic Server.
- Verify certificate installation using the Symantec Installation Checker
For more information, refer to Weblogic documentation