How to retrieve Weblogic password if you forgot the existing password in Oracle EBS 12.2


 

How to retrieve Weblogic password if you forgot the existing password in Oracle EBS 12.2

STEP 1:

Source run env :

. EBSapps.env run  

STEP 2:

Run below command to enter weblogi ccommand prompt:

sh  $FMW_HOME/oracle_common/common/bin/wlst.sh

example output of above command which connect to weblogic command prompt:

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline>


STEP 3:

Run below 3 commands in weblogic command prompt "wls:/offline>"

domain="/prodebs/fs2/FMW_Home/user_projects/domains/EBS_domain"  - Replace this path with your environment specific $FMW_HOME/user_projects/domains/EBS_domain path
service=weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
encryption=weblogic.security.internal.encryption.ClearOrEncryptedService(service)


STEP 4:

Get existing encrypted password from boot.proporties

cat $EBS_DOMAIN_HOME/servers/AdminServer/security/boot.properties 

password={AES}/hdZJHcbA6TS/fAEMi0cM2/Xg6eOO50=  -> check your output similar to this encrypted password , replace below and run that command 


Run the below print command to view to encrypted password

print "Weblogic server Admin password : %s" %encryption.decrypt("<encrypted_value>")

Example Command:

print "Weblogic server Admin password: %s" %encryption.decrypt("{AES}/hdZJHcbA6TS/fAEMi0cM2/Xg6eOO50=")

You will get your existing decrypted weblogic password here.


Happy Troubleshooting 👍 

Please let me know in comments if you need any further help.

Follow for more articles.

Post a Comment

0 Comments