Updating the keystore file

If you already have other key pairs/certificates added to your keystore you will want to update the keystore according to the steps below.

Tip:To list entries currently in your keystore you can use the keytool -list option:

keytool -list -keystore keystore

Note:The entry with alias 'tomcat' is the default certificate / key pair shipped with the application. It is also the alias used by the application when looking for a certificate.

To update the keystore file

1. Stop FlexNet Manager for Engineering Applications Admin and Reporting.
2. If you need to change the location of the keystore, refer to step 2 in {Hyperlink}Configuring the location of the keystore{Default ¹ Font} on page {Hyperlink}1{Default ¹ Font}.
3. Backup the currently used keystore file to a location outside of the <fnmea_install_dir> and rename it.

Tip:A good strategy is to use today’s date, for example keystore_20200828.

4. Remove the existing 'tomcat' certificate and key pair entry using:

keytool -delete -keystore keystore -alias tomcat

5. Generate a new test certificate using:

keytool -keystore keystore -alias tomcat -genkey -keyalg RSA

Note:If you already have an entry for the 'tomcat' alias in the keystore, the keytool will return an error. you must first remove the certificate and public/private key pair.

If you configured Admin to run as a Windows service, you can start the service from the Windows Services pane.