Installation Security
Elastic Password Encryption
Open an Admin PowerShell.
Run the following script to encrypt the Elastic password in the appsettings.json.
Check the storage path in this script before running it. For example: (C:\).
cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "ELASTICPASSWORD"
Update the encrypted password in the following script and run it.
Check the storage path in this script before running it. For example: (C:\).
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "elastic.password" -v "REPLACE WITH ENCRYPTED PASSWORD";
Elastic Certificate Password Encryption
Run the following script to encrypt the Elastic certificate password =.
Check the storage path and certificate password in this script before running it. For example: (C:\).
cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "CERTIFICATE PASSWORD";
Update the encrypted password in the following script and run it to update the required files.
Check the storage path and encrypted password in this script before running it. For example: (C:\).
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "elastic.certificate.password" -v "REPLACE WITH ENCRYPTED PASSWORD";
Run the following script to encrypt the Remote API certificate password.
Check the certificate password in this script before running it.
.\InsightMaker.SettingsUtilities.exe encryptstring "CERTIFICATE PASSWORD ";
Update the encrypted password in the following script and run it to update the required files.
Check the storage path and encrypted password in this script before running it. For example: (C:\).
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "remoteApi.certificate.password" -v "REPLACE WITH ENCRYPTED PASSWORD";
System Secret Encryption
Run the following script to encrypt the System Secret Key in the appsettings.json.
For help creating a random 32 character key see https://www.random.org
Check the storage path and system secret in this script before running it. For example: (C:\).
cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "ENTER 32 RANDOM CHARS";
Update the encrypted system secret in the following script and run it to update the required files.
Check the storage path and the encrypted secret in this script before running it. For example: (C:\).
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "systemSecret" -REPLACE "ENTER THE ENCRYPTED SECRET";
Last updated