DEV Community

Anuj Singh Tomar
Anuj Singh Tomar

Posted on

Decrypt Weblogic Console Password using wlst

If you have forgotten the console password or any other password for the domain, you can use below wlst commands to decrypt the passwords

  • 1 – Note down below two values:

Domain Location
Encrypted password which you want to decrypt

  • 2 – Invoke wlst & run below commands:
wls:/offline> domain ="/home/weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/train_domain/"
wls:/offline> service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
wls:/offline> encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
print encryption.decrypt("{AES}CFbYgsg8ktBwkzi0llxCYrC3wLN6qDCaOJHfEyOL47w")
Enter fullscreen mode Exit fullscreen mode

PS : I had to remove a trailing “\” from the encrypted password in last

For more detailed version: Link

Top comments (0)