Uninstall

KeySafe 5 agent

Before uninstalling the nShield KeySafe 5 agent, Entrust recommends that you back up any configuration files and certificates from the installation.

Linux

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

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

Then proceed to remove the following files and directories:

  • /opt/nfast/keysafe5/bin/ks5agenttls

  • /opt/nfast/keysafe5/conf/config.yaml.example

  • /opt/nfast/keysafe5/sbin/install

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

  • /opt/nfast/sbin/keysafe5-agent

  • /opt/nfast/scripts/install.d/12keysafe5-agent

  • /opt/nfast/log/keysafe5-agent.log

The current configuration, stored in /opt/nfast/keysafe5/conf, may also be removed.

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

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

Windows

To remove the KeySafe 5 agent from a Windows host:

  1. Stop the KeySafe 5 agent service using Windows Service Manager.

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

  3. Select the nShield KeySafe 5 Agent package.

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

To remove any configuration files, delete the %NFAST_DATA_HOME%\keysafe5 directory and remove the log file located at C:\ProgramData\nCipher\Log Files\KeySafe5-agent.log

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