Changes for page How to enable encryption
Last modified by Gideon Lombard on 2021/08/12 10:55
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,13 +7,13 @@ 7 7 == Website == 8 8 9 9 10 -1. Open the web.config on the web server 10 +1. Open the **web.config** on the web server with **Notepad** 11 11 1. Look for the section with the connection strings 12 -{{code language="xml"}}<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>13 -<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>14 -<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>15 -<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>{{/code}}16 -1. If there is not an Encrypt=true as part of the connection string you will need to add it sep erated with a **;**12 +{{code language="xml"}}<add name="Everest" connectionString="Data Source=127.0.0.1;Initial Catalog=[database name];Persist Security Info=True;User ID=[username];Password=[password]" ></add> 13 +<add name="Icarus" connectionString="Data Source=127.0.0.1;Initial Catalog=[database name];Persist Security Info=True;User ID=[username];Password=[password]" ></add> 14 +<add name="EverestWriteDB" connectionString="Data Source=127.0.0.1;Initial Catalog=[database name];Persist Security Info=True;User ID=[username];Password=[password]" ></add> 15 +<add name="EverestDocuments" connectionString="Data Source=127.0.0.1;Initial Catalog=[database name];Persist Security Info=True;User ID=[username];Password=[password]" ></add>{{/code}} 16 +1. If there is not an **Encrypt=true** as part of the connection string you will need to add it separated with a **;** 17 17 {{code language="xml"}}<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> 18 18 <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> 19 19 <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> ... ... @@ -32,6 +32,21 @@ 32 32 1. Click the **Generate STP File** and save the STP file again 33 33 [[image:1623328525432-818.png]] 34 34 35 +== SMS Service Settings == 36 + 37 +1. (% id="cke_bm_1117S" style="display:none" %) (%%)Open the **Everest_SMSService.exe.config** on the web server with **Notepad** 38 +1. Look for the section with the connection strings 39 +{{code language="xml"}}<databaseConnections> 40 + <add key="Everest" value="Data Source=127.0.0.1;Initial Catalog=[database name];User ID=[username];Password=[password]" /> 41 + </databaseConnections>{{/code}} 42 + 43 + 44 +1. (% id="cke_bm_1488S" style="display:none" %) (%%) If there is not an **Encrypt=true** as part of the connection string you will need to add it separated with a **;** 45 +{{code language="xml"}}<databaseConnections> 46 + <add key="Everest" value="Data Source=127.0.0.1;Initial Catalog=[database name];User ID=[username];Password=[password];Encrypt=true" /> 47 + </databaseConnections>{{/code}} 48 + 49 + 35 35 == Database Settings == 36 36 37 37 ... ... @@ -53,3 +53,26 @@ 53 53 UPDATE tblBatchParent_Schedule SET txtDocConnStrProcess = REPLACE(txtDocConnStrProcess, ';Password=', ';Encrypt=true;Password=') 54 54 WHERE txtDocConnStrProcess NOT LIKE '%Encrypt%' 55 55 {{/code}} 71 + 72 +=== System Settings === 73 + 74 +{{code language="SQL"}} 75 + 76 +UPDATE prgSystemSettings SET txtDocumentDatabaseConnection = REPLACE(REPLACE(txtDocumentDatabaseConnection, ';pwd=', ';Encrypt=true;pwd='), ';Password=', ';Encrypt=true;Password=') 77 +WHERE txtDocumentDatabaseConnection NOT LIKE '%Encrypt%' 78 + 79 +UPDATE prgSystemSettings SET txtDocumentDatabaseConnection = REPLACE(REPLACE(txtAdditionalDocumentDatabaseConnection, ';pwd=', ';Encrypt=true;pwd='), ';Password=', ';Encrypt=true;Password=') 80 +WHERE txtAdditionalDocumentDatabaseConnection NOT LIKE '%Encrypt%' 81 +{{/code}} 82 + 83 +=== SSIS Service Steps === 84 + 85 +{{code language="SQL"}} 86 +UPDATE tblSSISServiceSteps SET txtFromConnectionString = REPLACE(txtFromConnectionString, ';Password=', ';Encrypt=true;Password=') 87 +WHERE txtFromConnectionString NOT LIKE '%Encrypt%' 88 + 89 +UPDATE tblSSISServiceSteps SET txtFromConnectionString = REPLACE(txtToConnectionString, ';Password=', ';Encrypt=true;Password=') 90 +WHERE txtToConnectionString NOT LIKE '%Encrypt%' 91 +{{/code}} 92 + 93 +