SSL for WebLogic Webserver

How to enable SSL for WebLogic web server instance?

To know about Why SSL? How SSL works see this video presentation by Dennis. There are many free SSL certificate can be issue by Certifying Authority (CA). You can choose one of them for testing purpose. Generating private key, public key with JAVA key-tool is discussed in detail at this Sarangapani blog link. You can also use the Screen by Screen Word document on SSL made by Madhukar G available in the File Cabin. The following simple steps you can follow for your WebLogic 10.x webserver instance to enable SSL.

 

1.    Configuring SSL Listen address

Connect to your WebLogic admin console. Make sure application deployed running fine on normal port.  Go to the web server that you wish to configure SSL. Configuration -> general tab click on the “SSL Listen Port Enabled”, enter a distinguish SSL Listen port value here I entered as 7777 for sample.

Click on “Save” button

2.       Keystore configuration

In the console go to the Configuration -> Keystore tab of the same web server change the configuration rule to “Custom Identity and Custom Trust”. Change Identity, Trust keystore path according to your needs.

Enter the custom Trust keystore type as “jks”. Enter the same passphrase which is entered while generating public key, private key using keytool. Finally save all the settings for the keystore configuration.

3.       SSL configuration

The SSL tab give you access to provide the details of configuration details for a WebLogic instance. Go to Configuration -> SSL tab. Here you can define various Secure Sockets Layer (SSL) settings for this WebLogic server instance.

Identity and Trust Locations for domains created in WebLogic Server version 8.1 or later, default to KEYSTORES. Domains created before WebLogic Server version 8.1, default to FILES_OR_KEYSTORE_PROVIDERS. This FILES_OR_KEYSTORE_PROVIDERS is depricated in WebLogic 11g.

Enter the value in the alias value that was used to store and retrieve the server's private key.

4.       After the above updates “ Activate all Changes”. If there is no error shown on your console well and good otherwise verify all the steps.  Now try to access your url with https://hostname:7777/application/contextpath/logon.jsp

Please write back to us for any improvements you wish to tell us.