RECOVER WEBLOGIC ADMINISTRATION PASSWORD OF ENTERPRISE MANAGER 13.3 IN OCI (MARKETPLACE IMAGE)

 

RECOVER WEBLOGIC ADMINISTRATION PASSWORD OF ENTERPRISE MANAGER 13.3 IN OCI (MARKETPLACE IMAGE)

First let’s get the encrypted information from boot.properties file:

The encrypted information starts with {AES} and ends with equal (=) sign. To decrypt the username and password, we will create a simple java application:

Save it as “recoverpassword.java”. To be able to compile (and run) it, we need to set environment variables (we’re still in GCDomain folder). We’ll give the encrypted part as the last parameter:

I intentionally break the lines to make the code fits the page but you don’t need to do it. Correct CLASSPATH and DOMAIN_NAME are set when we issued “. bin/setDomainEnv.sh” command. When we run the last two commands, we should see the weblogic administrator username and password in plain text. By the way, even if you use the same password with me, you may see different encrypted text because when encrypting and decrypting, weblogic uses the cypher key stored in “security/SerializedSystemIni.dat” file. So as long as the cypher key is different, you get different encrypted text for even same input.

No comments:

Post a Comment