Skip to main content
Version: 3.7.x.x LTS

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.

  1. Stop the domain:

    adnglassfish nevisadmin shell stop-domain --domaindir /var/opt/adnglassfish/nevisadmin
  2. 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=o7hum20EwK6tOSg2DAmGfBqzmJse
  3. Run 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/nevisadmin
  4. Restart the domain:

    adnglassfish nevisadmin shell start-domain --domaindir /var/opt/adnglassfish/nevisadmin
    --upgrade