If we don’t remember weblogic admin password, we can get it as below.
[applmgr@ebs1213 ~]$ 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/ebsapp l/FIN2DB/fs1/FMW_Home/user_ projects/domains/EBS_domain_ FIN2DB”
wls:/offline> service = weblogic.security.internal.Ser ializedSystemIni.getEncryption Service(domain)
wls:/offline> encryption = weblogic.security.internal.enc ryption.ClearOrEncryptedServic e(service)
wls:/offline> print encryption.decrypt(“{AES}Gp7Q+ 3yqpimz1+27+ftmbCRHpgkMTpEZc67 RsxM9XS0=”)
weblogic@123
wls:/offline>
We can get encrypted password from boot.properties.
[applmgr@ebs1213 security]$ cd $FMW_HOME/user_projects/domain s/EBS_domain_FIN2DB/servers/ AdminServer/security
[applmgr@ebs1213 security]$ cat boot.properties
username={AES}LY9AdjI1A7wTpNJp Ol4/aMIH3uc0HEwLVcbM9kXwffE=
password={AES}Gp7Q+3yqpimz1+27 +ftmbCRHpgkMTpEZc67RsxM9XS0=
No comments:
Post a Comment