Installation Security

Elastic Password Encryption

1

Open an Admin PowerShell.

2

Run the following script to encrypt the Elastic password in the appsettings.json.

cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "ELASTICPASSWORD"
3

Update the encrypted password in the following script and run it.

.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "elastic.password" -v "REPLACE WITH ENCRYPTED PASSWORD";

Elastic Certificate Password Encryption

1

Run the following script to encrypt the Elastic certificate password =.

cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "CERTIFICATE PASSWORD";
2

Update the encrypted password in the following script and run it to update the required files.

.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "elastic.certificate.password" -v "REPLACE WITH ENCRYPTED PASSWORD";
3

Run the following script to encrypt the Remote API certificate password.

.\InsightMaker.SettingsUtilities.exe encryptstring "CERTIFICATE PASSWORD ";
4

Update the encrypted password in the following script and run it to update the required files.

.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "remoteApi.certificate.password" -v "REPLACE WITH ENCRYPTED PASSWORD";

System Secret Encryption

1

Run the following script to encrypt the System Secret Key in the appsettings.json.

cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities; 
.\InsightMaker.SettingsUtilities.exe encryptstring "ENTER 32 RANDOM CHARS"; 
2

Update the encrypted system secret in the following script and run it to update the required files.

.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "systemSecret" -REPLACE "ENTER THE ENCRYPTED SECRET";

Last updated