Change Keystore Password
You can change the password used by adnglassfish for the protecting HTTPs key material. Proceed as follows:
tip
Make a backup first before executing any steps.
Stop the domain:
adnglassfish nevisadmin shell stop-domain --domaindir /var/opt/adnglassfish/nevisadmin
Create a file that contains the current and the new master password:
vi /var/opt/adnglassfish/nevisadmin/conf/pwcache_master.txt
# Content of the file:
AS_ADMIN_MASTERPASSWORD=changeit
AS_ADMIN_NEWMASTERPASSWORD=o7hum20EwK6tOSg2DAmGfBqzmJseRun the following command to change the master password:
adnglassfish nevisadmin shell --passwordfile
/var/opt/adnglassfish/nevisadmin/conf/pwcache_master.txt change-master-password --
savemasterpassword=true --domaindir /var/opt/adnglassfish/nevisadminRestart the domain:
adnglassfish nevisadmin shell start-domain --domaindir /var/opt/adnglassfish/nevisadmin
--upgrade