Sometimes we may forget the password we set for weblogic. At such times this method will be very much helpful.
Below is the step by step process to decrypt the password for weblogic.
- Take a backup of the boot.properties file
- Note the value of encrypted password
- Now invoke the WebLogic scripting tool sh wlst.sh
- Pass the values for Domain, service, encryption and password wls:/offline> domain = "<Domain Value>"
wls:/offline> service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
wls:/offline> encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
wls:/offline> print encryption.decrypt("<Encrypted Password>")
- Your password will be decrypted
- Now you can use the decrypted password to start the Admin server