How to Decrypt WebLogic Admin Console Password
WebLogic Password
The WebLogic password is used to access the WebLogic console. There may be a chance to forgot the WebLogic password or there may be a chance to loss the WebLogic password.
In the following way we can easily get the lost password of the WebLogic admin console.
Decrypting WebLogic Console Password
This assumes you had server access and logged in with the respective account.
Go to Oracle bin directory D:\oracle\midtierjsp\oracle_common\common\bin
Execute the wlst.cmd
Note: change the domain path if necessary. You can take the encrypted weblogic password from the boo.properties file.
The boot.properties file will be available in the below location, " <ORACLE_HOME>/user_projects/domains/<your_domain>/servers/<server_name>/security "
domain = "D:\\oracle\\midtierjsp\\user_projects\\domains\\test"
service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
print encryption.decrypt("{AES256}Hv/VIoyFIxPKJWJtHZr+hn7PEM2C9gKBv24NaTVIN7E=")
Good explanation and it saves my lot of time
ReplyDelete