How to enable encryption
Version 25.1 by Gideon Lombard on 2021/06/25 16:14
Table of Contents
Website
- Open the web.config on the web server
- Look for the section with the connection strings
<add name="Everest" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo;Persist Security Info=True;User ID=[username];Password=[password]" ></add>
<add name="Icarus" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo;Persist Security Info=True;User ID=[username];Password=[password]" ></add>
<add name="EverestWriteDB" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo;Persist Security Info=True;User ID=[username];Password=[password]" ></add>
<add name="EverestDocuments" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo_Documents;Persist Security Info=True;User ID=[username];Password=[password]" ></add> - If there is not an Encrypt=true as part of the connection string you will need to add it seperated with a ;
<add name="Everest" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo;Persist Security Info=True;User ID=[username];Password=[password];Encrypt=true" ></add>
<add name="Icarus" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo;Persist Security Info=True;User ID=[username];Password=[password];Encrypt=true" ></add>
<add name="EverestWriteDB" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo;Persist Security Info=True;User ID=[username];Password=[password];Encrypt=true" ></add>
<add name="EverestDocuments" connectionString="Data Source=127.0.0.1;Initial Catalog=Everest_Risk_Demo_Documents;Persist Security Info=True;User ID=[username];Password=[password];Encrypt=true" ></add>
Everest.NET
- Get the clients current STP file that is provided to the users
- Run the Everest Administrator application and click the STP Connection Files menu item

- On the next screen you click the Load STP File and load the STP file of your client

- Ensure that the Encrypt is checked on the connection settings

- Click the Generate STP File and save the STP file again

Database Settings
Parent Service
UPDATE tblBatchParent SET txtConnStr = REPLACE(txtConnStr, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStr NOT LIKE '%Encrypt%'
UPDATE tblBatchParent SET txtDocConnStr = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
WHERE txtDocConnStr NOT LIKE '%Encrypt%'
UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtConnStrSchedule, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStrSchedule NOT LIKE '%Encrypt%'
UPDATE tblBatchParent_Schedule SET txtConnStrProcess = REPLACE(txtConnStrProcess, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStrProcess NOT LIKE '%Encrypt%'
UPDATE tblBatchParent_Schedule SET txtDocConnStrProcess = REPLACE(txtDocConnStrProcess, ';Password=', ';Encrypt=true;Password=')
WHERE txtDocConnStrProcess NOT LIKE '%Encrypt%'
WHERE txtConnStr NOT LIKE '%Encrypt%'
UPDATE tblBatchParent SET txtDocConnStr = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
WHERE txtDocConnStr NOT LIKE '%Encrypt%'
UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtConnStrSchedule, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStrSchedule NOT LIKE '%Encrypt%'
UPDATE tblBatchParent_Schedule SET txtConnStrProcess = REPLACE(txtConnStrProcess, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStrProcess NOT LIKE '%Encrypt%'
UPDATE tblBatchParent_Schedule SET txtDocConnStrProcess = REPLACE(txtDocConnStrProcess, ';Password=', ';Encrypt=true;Password=')
WHERE txtDocConnStrProcess NOT LIKE '%Encrypt%'