Note: This method works only if we have boot.properties file in our domain home
Starting wlst command prompt:
Navigate through MW_HOME\oracle_common\common\bin and
run the wlst command as below
Defining domain,
service and encryption:
In the wlst command prompt define domain, service and
encryption as below
service =
weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
Decrypting the
encrypted password:
Note: Copy the
encrypted password from boot.properties file
boot.properties location=
DOMAIN_HOME\servers\Adminserver\security
Use print command as below to print the encrypted password
Syntax:
print "Weblogic server Admin password: %s"
%encryption.decrypt<boot.properties_encrypted_password")
Example:
Print "Weblogic server Admin password: %s"
%encryption.decrypt("{AES}0RFlBNYhFEoAroSAQaeYNY8wl9nxuToZSg39ZpM1QZo=")
It will print the decrypted password.