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
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)
In another tab, Navigate to the security (<DOMAIN/servers/AdminServer/security>) folder to copy the encrypted password you want to decrypt.
Open boot.properties
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.