Monday, 23 July 2018


Decrypt Weblogic Password




This post explains the steps to decrypt weblogic password using the wlst scripts.
Navigate to <MIDDLEWARE_HOME>/oracle_common/common/bin .
Execute ./wlst.sh

decrypt weblogic password1 300x128 Decrypt weblogic password





Set the values for  domain ,service and encryption variables where the value for domain is the path to your weblogic domain
domain = “/opt/fmw/Oracle/Middleware/user_projects/domains/soadomain/”
service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)

decrypt weblogic password2 300x34 Decrypt weblogic password


In another tab, Navigate to the security (<DOMAIN/servers/AdminServer/security>) folder to copy the encrypted password you want to decrypt.

decrypt weblogic password3 300x26 Decrypt weblogic password


Open boot.properties
decrypt weblogic password4 300x44 Decrypt weblogic password


To decrypt weblogic password , copy the value for password from the boot.properties file.
Replace the the value of <encrypted_value> with the copied value from boot.properties in the below command
print “Weblogic server Admin password : %s” %encryption.decrypt(“<encrypted_value>“)
print “Weblogic server Admin password: %s” %encryption.decrypt(“{AES}xblewzHC24u541QNckPwWoPNd+aaFxc387UmNvjrlEM=“)
The weblogic password will be displayed.

decrypt weblogic password6 300x13 Decrypt weblogic password