How to Encrypt Clear Text Password Used in -Djavax.net.ssl.trustStorePassword with WebLogic Server

(Doc ID 2298787.1)

Last updated on NOVEMBER 14, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Goal

When using the -Djavax.net.ssl.trustStorePassword, the password is initially clear text and allows the SSL processing to access the certificates required to complete the handshake. This document describes how to encrypt the keystore / truststore password which you configure with WebLogic Server SSL configuration. It is usually set with the -Djavax.net.ssl.trustStorePassword parameter within the setDomainEnv.sh, but could be set with any JAVA_OPTION argument or within a configuration file. This will also work when using JDBC where "javax.net.ssl.trustStorePassword" is configured.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms