My Oracle Support Banner

Is There any Way to Have an Encrypted Password with -Djavax.net.ssl.trustStorePassword=changeit ? (Doc ID 2433548.1)

Last updated on AUGUST 15, 2018

Applies to:

Oracle WebCenter Sites - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Goal

Is there a way to have an encrypted password with -Djavax.net.ssl.trustStorePassword=changeit ?

Is there a solution that uses an encrypted method such as in the 'nodemanager.properties' to prevent the password from appearing in plaintext in the ps -ef output on the shell? When the flag -Djavax.net.ssl.trustStorePassword=changeit is used from the JAVA_OPTIONS in the startNodeManager.sh the ps -ef output looks like:

weblogic 5241 5195 1 14:22 pts/0 00:00:04 /opt/was/java8/bin/java -server -Xms32m -Xmx200m ... -Djavax.net.ssl.trustStore=/home/weblogic/keystore/MyTrust.jks -Djavax.net.ssl.trustStorePassword=changeit ...
 

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.