1、步骤一:weblogic管理节点创建后,使用nohup ./startWeb雉搽妤粲Logic.sh &命令启动管理节点出现如下报错:<Apr 16荑樊综鲶, 2019 2:50:46 PM CST> <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.><Apr 16, 2019 2:50:46 PM CST> <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.
2、步骤二:根据上面报错,基本可以断定,是管理节点在获取密码文件时候出现问题,导致认证无法通过。首先按照常规方法修改 boot.properties文件(修改前请备份),发现仍是同样错误(并且boot.properites文件不能正常加密),正常加密后重启后boot.properites文件会像下图出现加密
3、步骤三:此时我们就需要采用重置密码的方法,重新生成DefaultAuthenticatorInit.ldift文件,此文件进行密码的加解密,也是终极手段格式:运行 java -cp /weblogic/wlserver_10.3/server/lib/weblogic.jar weblogic.security.utils.AdminAccount <新用户名> <新密码> .(注意最后有个点的,点之前有空格)如下:java -cp /weblogic/wlserver_10.3/server/lib/weblogic.jar weblogic.security.utils.AdminAccount weblogic weblogic .
4、步骤四:命令执行后会在当前目录下生成DefaultAuthenticatorInit.ldift文件,将此文件拷贝到DOMIAN_HOME/security目录,记得覆盖原有文件之前记得备份。