Uninstall Steps

Before uninstalling the KeySafe 5 Service, Entrust recommends that you back up any configuration files and certificates from the installation, for more information see KeySafe 5 Service Backup.

Linux

To remove the KeySafe 5 Service from a Linux host run the KeySafe 5 uninstaller:

sudo /opt/nfast/keysafe5/server/sbin/install -u

Then proceed to remove the following files and directories:

  • /opt/nfast/keysafe5/server

  • /opt/nfast/sbin/keysafe5-server

  • /opt/nfast/bin/keysafe5-server-admin

  • /opt/nfast/log/keysafe5-server*

  • /opt/nfast/lib/versions/keysafe5-server-atv.txt

  • /opt/nfast/scripts/install.d/14keysafe5-server

  • /opt/nfast/kmdata/databases/agent-mgmt.sqlite

  • /opt/nfast/kmdata/databases/codesafe-mgmt.sqlite

  • /opt/nfast/kmdata/databases/hsm-mgmt.sqlite

  • /opt/nfast/kmdata/databases/sw-mgmt.sqlite

The log files will be located in a different location if you have changed the default value of logging.file.path in the configuration file.

If required, you can also remove the keysafe5serviced user that was created as part of the installation.

Windows

To remove the KeySafe 5 Service from a Windows host:

  1. Stop KeySafe 5 Service using Windows Service Manager.

  2. Open the Control Panel and select Programs and Features.

  3. Select the nShield KeySafe 5 Service package.

  4. Select Uninstall and follow the on-screen instructions.

Then proceed to remove the following files and directories:

  • %NFAST_DATA_HOME%\keysafe5\service

  • %NFAST_DATA_HOME%\Log Files\keysafe5-server*

  • %NFAST_DATA_HOME%\Key Management Data\databases\agent-mgmt.sqlite

  • %NFAST_DATA_HOME%\Key Management Data\databases\codesafe-mgmt.sqlite

  • %NFAST_DATA_HOME%\Key Management Data\databases\hsm-mgmt.sqlite

  • %NFAST_DATA_HOME%\Key Management Data\databases\sw-mgmt.sqlite

The log files will be located in a different location if you have changed the default value of logging.file.path in the configuration file.