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")
PS : I had to remove a trailing β\β from the encrypted password in last
For more detailed version: Link
Top comments (0)