Lost GlassFish admin password
I lost my Glassfish admin account password, How Should I proceed? To update the password I need the old password, which I lost. Do you have how to directly mess with the files to reset?
2
Author: Tássio Auad, 2018-03-20
1 answers
The only way I've found to date is by changing the configuration file called admin-keyfile
which sits at:
$GLASSFISH_HOME$\glassfish\domains\domain1\config\admin-keyfile
Remove the content (or just comment on the content), replacing it with the one below:
admin;{SSHA}WQVj8i9CLECCiv+w6ZxGgMrcfPqHPoXZW+2Jdw==;asadmin
With this, the password will be reset to the default, which is no password.
2
Author: Tássio Auad, 2018-03-20 19:47:20