How to enable encryption

Version 24.1 by Gideon Lombard on 2021/06/25 16:12

Website

  1. Open the web.config on the web server
  2. 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>
  3.  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

  1. Get the clients current STP file that is provided to the users 
  2. Run the Everest Administrator application and click the STP Connection Files menu item
    1623327833111-701.png
  3. On the next screen you click the Load STP File and load the STP file of your client
    1623328089168-341.png
  4. Ensure that the Encrypt is checked on the connection settings
    1623328456852-301.png
  5. Click the Generate STP File  and save the STP file again
    1623328525432-818.png

Database Settings

Parent Service

UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtConnStrSchedule, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStrSchedule NOT LIKE '%Encrypt%'

UPDATE tblBatchParent SET txtDocConnStr = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
WHERE txtDocConnStr NOT LIKE '%Encrypt%'

UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStrSchedule NOT LIKE '%Encrypt%'

UPDATE tblBatchParent_Schedule SET txtConnStrProcess = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
WHERE txtConnStrProcess NOT LIKE '%Encrypt%'

UPDATE tblBatchParent_Schedule SET txtDocConnStrProcess = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
WHERE txtDocConnStrProcess NOT LIKE '%Encrypt%'

Tags:
Created by Gideon Lombard on 2021/06/10 12:04
    

Need help?

If you need help with XWiki you can contact: