Installation Security
Elastic Password Encryption
To encrypt the Elastic password that resides in the appsettings.json run the following script. This must be run in an admin PowerShell.
cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "ELASTICPASSWORD";
Enter the encrypted password into the below command and run it from an admin PowerShell.
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "elastic.password" -v "REPLACE WITH ENCRYPTED PASSWORD";
Elastic Certificate Password Encryption
To encrypt the Elastic Certificate password that resides in the appsettings.json run the following script. This must be run in an admin PowerShell.
cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "CERTIFICATE PASSWORD";
Enter the encrypted password into the below command and run it from an admin PowerShell.
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "elastic.certificate.password" -v "REPLACE WITH ENCRYPTER PASSWORD";
.\InsightMaker.SettingsUtilities.exe encryptstring "CERTIFICATE PASSWORD ";
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "remoteApi.certificate.password" -v "REPLACE WITH ENCRYPTER PASSWORD";
System Secret Encryption
To encrypt the System Secret Key that resides in the appsettings.json run the following script. This must be run in an admin PowerShell.
For assistance creating a random 32+ character key see https://www.random.org.
cd C:\InsightMaker\Utils\InsightMaker.SettingsUtilities;
.\InsightMaker.SettingsUtilities.exe encryptstring "ss4Skwa9CFHM3aqku0jbeKWpsOs4Kssr";
Enter the encrypted key into the below command and run it from an admin PowerShell.
.\InsightMaker.SettingsUtilities.exe patch -i C:\InsightMaker\ -a "systemSecret" -v "REPLACE WITH ENCRYPTED KEY";
Last updated