WebLogic is used in EBS R12.2. "weblogic" account is used to log onto WebLogic Admin console and is also used to start EBS services. Its password is encrypted and saved on the file system. Here are two steps in my R12.2 environments to decrypted it.
1. Identify Domain path and boot.preperties file
$ echo $EBS_DOMAIN_HOME
$ cd $EBS_DOMAIN_HOME/servers/AdminServer/security
$ ls
boot.properties
$ more boot.properties
username={AES}mE0mATL4+Lv/gLcIuuuuuuuuu=
password={AES}2kGMi4fcZ7FwYXWIxxxxxxxxx=
2. Run wlst.sh to decrypt the password
$ cd $FMW_HOME/wlserver_10.3/common/bin
$ ls
commEnv.sh config.sh security startDerby.sh stopDerby.sh upgrade.sh wlsifconfig.sh
config_builder.sh pack.sh setPatchEnv.sh startManagedWebLogic.sh unpack.sh wlscontrol.sh wlst.sh
$ sh wlst.sh
CLASSPATH=/u01/app/... ......
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> domain = '$EBS_DOMAIN_HOME' # <= replace the env variable with the real path
wls:/offline> service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
wls:/offline> encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
wls:/offline> print "Weblogic server password is: %s" %encryption.decrypt("{AES}2kGMi4fcZ7FwYXWIxxxxxxxxx=")
Weblogic server password is: webLogicPWD
wls:/offline> ^C
If you get Java error, most likely you entered a wrong path or a wrong encrypted password/string.
My WebLogic version is 10.3.6.0.210119. It can be found by two lines:
$ . $FMW_HOME/wlserver_10.3/server/bin/setWLSEnv.sh
... ...
Your environment has been set.
$ java weblogic.version
... ...
WebLogic Server 10.3.6.0.210119 PSU Patch for ...
... ...
If you want to change weblogic password, please read How to change weblogic password