Overview
This article provides a step-by-step process on encrypting or decrypting an existing database in GFI EventsManager.
Process
In EventsManager 2012 and newer versions, encryption can only be enabled through the UI when configuring a new database.
If needed, you can encrypt the current database without creating a new one by using a series of commands in the command line. The commands must run using the EsmDlibM.exe file:
- Choose Start > Run. Enter
CMD
. - Browse to the installation folder. The default file path is: <..\Program Files\GFI\EventsManager>.
- Run the
EsmDlibM.exe
command with the correct parameters:
esmdlibm.exe /decryptDatabase /dbPath:<path> /dbName:<name> /password:<password>
esmdlibm.exe /encryptDatabase /dbPath:<path> /dbName:<name> /password:<password>
Note: Replace the <path>, <name> and <password> with the appropriate values corresponding to your database.
To create and encrypt a new EventsManager database, please proceed as follows:
- Open the GFI EventsManager Console.
- Go to Configuration > Options.
- Choose File Storage > Configure file storage.
- Click New to create a new database.
- Enter a name for the new database and click OK.
- Check the option 'Encrypt data using the following password'.
- Insert a password and confirm the password.
- Click OK to apply these settings.
For more information on available commands and parameters, refer to this article on using EsmDlibM.exe.