Contact Premier Online Trainings Today
Premier Online Trainings

Oracle Fusion Weblogic admin - weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid;

Date Added: 05 Feb.2020 Date Updated: 05 Feb.2020 Oracle Fusion Weblogic admin Full Blog

weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid;

issue -

<Feb 6, 2020 9:07:08 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<Feb 6, 2020 9:07:08 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<Feb 6, 2020 9:07:08 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file /u01/app/oracle/Middleware/user_projects/domains/base_domain/servers/ms1/logs/ms1.log is opened. All server side log events will be written to this file.> 
 
 
<Feb 6, 2020 9:07:17 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<Feb 6, 2020 9:07:17 AM IST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.> 
<Feb 6, 2020 9:07:17 AM IST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:960)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User weblogic weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
<Feb 6, 2020 9:07:17 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 
<Feb 6, 2020 9:07:17 AM IST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 
<Feb 6, 2020 9:07:17 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 
 
Solution -
 
follow the following steps:
1: remove the boot.properties file completely from the managed server directory.
2: remove the ManagedServerDir/data/ldap directory completely.
3: Always keep backup of files before removing it.
4: Now try to start the server from the command prompt and provide the username/password used to login to the Admin Console.