I lost the Glassfish admin account password, how should I proceed? To update the password I need the old password, which I lost. Can you directly manipulate the files to reset?
I lost the Glassfish admin account password, how should I proceed? To update the password I need the old password, which I lost. Can you directly manipulate the files to reset?
The only way I've found today is to change the configuration file named admin-keyfile
to:
$GLASSFISH_HOME$\glassfish\domains\domain1\config\admin-keyfile
Remove the content (or just comment the content), replacing it with the below:
admin;{SSHA}WQVj8i9CLECCiv+w6ZxGgMrcfPqHPoXZW+2Jdw==;asadmin
With this, the password will be reset to default, which is not having a password.