SSL in Weblogic 12C
SSL in Weblogic 12C
Run Command
Important: When prompted for the first and last name, DO NOT type your first and last name.
Instead, type the domain name the certificate is being issued for (e.g., www.yourdomain.com,
mail.yourdomain.com, *.yourdomain.com).
Create a password
Next, you will need to create a password. You will use this password to generate your CSR and to
import your certificate. Store this password in a safe, secure place (such as a trusted and secured
password manager).
Run Command
keytool -certreq -alias server -keyalg RSA -file your_domain.csr -keystore your_domain.jks
In the command above, your_domain should be the name of the domain you want to secure with
this SSL certificate. When ordering a Wildcard certificate, do not include the asterisk (*) in the
filename (e.g., your_domain). That is not a valid Keytool character.
Generate CSR
When prompted, type the password you created earlier (when you created your new Keystore).
We recommend that you create a back-up copy of the Keystore file before continuing on. Having a
back-up of the Keystore file can help resolve issues that may occur during certificate installation.
Copy the text, including the -----BEGIN NEW CERTIFICATE REQUEST----- and -----END NEW
CERTIFICATE REQUEST----- tags, and paste it in to the DigiCert order form.
Install Certificate
After you've received your SSL certificate from DigiCert, you can install it on your server.
II. WebLogic Server 8 – 12x: Install and Configure Your
SSL/TLS Certificate
Step 1: Use Java Keytool to Install Your SSL Certificate in WebLogic
Download Certificate
On the My Orders tab, click the order number link and then click Download.
Note: Make sure to replace your_domain_com with the domain the certificate is
securing.
2. You should get a confirmation that the "Certificate reply was installed in keystore".
3. If you are prompted to trust the certificate, type "y" or "yes".
4. The installation of this file loads all the necessary certificates to your Keystore.
Now you just need to configure your server to use the certificate
1. On your WebLogic server, expand the Servers node and select the server you need to
configure.
2. Next, go to Configuration-->Keystores and SSL.
3. To enable your new keystore, under Keystore Configuration, click the Change...
link
4. Select Custom Identity and Java Standard Trust as your keystore configuration
type, and then click Continue.
5. Under Custom Identity Keystore File Name, type the full path to the
your_domain.jks file on your WebLogic server.
6. For Custom Identity Keystore Type, select jks.
7. For Custom Identity Keystore PassPhrase, type the password you created when
creating the Keystore.
Note: If you have forgotten that password, you will need to begin the process of
creating your Keystore from the beginning (see WebLogic Server 8 – 12x: Create
Your CSR with Java Keytool).
Note: If you followed our instructions or used our command generator, "server" is
your alias. The passphrase is the keystore password.
If your site's publicly accessible, use our Server Certificate Tester to test your SSL/TLS
certificate installation; it detects common installation problems.