Steps to reset Admin console password in WLS 10g and 12c
If you forget the AdminServer password for your WebLogic 12 c and 11g domain, you can try Recovering it in many ways
Go to the following link :https://recover-weblogic-password.appspot.com/Provide the SerializedSystemIni.dat from location C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\security\SerializedSystemIni.dat
and provide the config.xml file from the
C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\config.xml
and press the Decrypt button
It will decrypt the Admin password .
and provide the config.xml file from the
C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\config.xml
and press the Decrypt button
It will decrypt the Admin password .
2nd Method
We can Reset the Admin Username and password from the command line.
Before that we have to do some changes.
We can Reset the Admin Username and password from the command line.
Before that we have to do some changes.
Before making any changes Please take the backup of the below files:
DefaultAuthenticatorInit.ldift
boot.properties and config files .
If you are lost with your admin password and tried the 1st option and even not getting the password the 2nd Option is to reset the password for Admin account.
1. The 1st step is to run the SetDomianEnv.cmd from C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin location
DefaultAuthenticatorInit.ldift
boot.properties and config files .
If you are lost with your admin password and tried the 1st option and even not getting the password the 2nd Option is to reset the password for Admin account.
1. The 1st step is to run the SetDomianEnv.cmd from C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin location
Now we have to take the backup of the DefaultAuthenticatorInit.ldift from the location C:\Oracle\Middleware\Oracle_Home\
user_projects\domains\base_domain\security
user_projects\domains\base_domain\security
Now go to the security folder of your domain and run the following command
"java weblogic.security.utils.AdminAccount newAdmin newPassword1 ."
. is very necessary as it signifies that the new DefaultAuthenticatorInit.ldift
file will be created in the current working Directory.
"java weblogic.security.utils.AdminAccount newAdmin newPassword1 ."
. is very necessary as it signifies that the new DefaultAuthenticatorInit.ldift
file will be created in the current working Directory.
Now change the value in boot.properties file to the new username and password and save them.
The location of boot.properties file is C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security
Once you start your Admin server the username and the password will be encrypted.
hence by using the new username and password we can log in to to Console.
The location of boot.properties file is C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security
Once you start your Admin server the username and the password will be encrypted.
hence by using the new username and password we can log in to to Console.
3rd Way is to use the WLST script to decrypt the password from the boot.properties file
Copy the above file to the common/bin location of the Weblogic home C:\Oracle\Middleware\wlserver_10.3\common\bin
then run the SetDominEnv.cmd command from the Domain_home\bin
and then open the cmd propmpt and run the following command
java weblogic.WLST decryptPassword.py <domain_path> <encrypted password>
domain_path -- Path of your domain home
encrypted password -- You can get the encrypted password from the boot.properties file located inside /doamin_home/servers/AdminServer/security
It will decrypt the Password for you.
No comments:
Post a Comment