How to get forgot Weblogic admin password

Mar 6, 2019

Share this post
issues-after-qlikview-version-upgrade-on-passive-node-of-production-servers

If we don’t remember WebLogic admin password, we can get it using the below method.

[applmgr@ebsapp1 ~]$ sh /u01/app/oracle/ebsappl/FIN2DB/fs1/FMW_Home/wlserver_10.3/common/bin/wlst.sh
Initializing WebLogic Scripting Tool (WLST) …
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> domain=”/u01/app/oracle/ebsappl/FIN2DB/fs1/FMW_Home/user_projects/domains/EBS_domain_FIN2DB”
wls:/offline> service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
wls:/offline> encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
wls:/offline> print encryption.decrypt(“{AES}Gp7Q+3yqpimz1+27+ftmbCRHpgkMTpEZc67RsxM9XS0=”)
weblogic@123
wls:/offline>

We can get encrypted password from boot.properties.
[applmgr@ebsapp1 security]$ cd $FMW_HOME/user_projects/domains/EBS_domain_FIN2DB/servers/AdminServer/security
[applmgr@ebsapp1 security]$ cat boot.properties
username={AES}LY9AdjI1A7wTpNJpOl4/aMIH3uc0HEwLVcbM9kXwffE=
password={AES}Gp7Q+3yqpimz1+27+ftmbCRHpgkMTpEZc67RsxM9XS0=