Changes for page How to enable encryption

Last modified by Gideon Lombard on 2021/08/12 10:55

<
From version < 24.1 >
edited by Gideon Lombard
on 2021/06/25 16:12
To version < 28.1 >
edited by Gideon Lombard
on 2021/06/25 16:26
>
Change comment: There is no comment for this version

Summary

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 seperated 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,7 +32,18 @@
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 ==
35 35  
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]" ></add>
41 + </databaseConnections>{{/code}}
42 +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 **;**
43 +{{code language="xml"}}<databaseConnections>
44 + <add key="Everest" value="Data Source=127.0.0.1;Initial Catalog=[database name];User ID=[username];Password=[password];Encrypt=true" ></add>
45 + </databaseConnections>{{/code}}
46 +
36 36  == Database Settings ==
37 37  
38 38  
... ... @@ -39,20 +39,41 @@
39 39  === Parent Service ===
40 40  
41 41  {{code language="SQL"}}
42 -UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtConnStrSchedule, ';Password=', ';Encrypt=true;Password=')
43 -WHERE txtConnStrSchedule NOT LIKE '%Encrypt%'
53 +UPDATE tblBatchParent SET txtConnStr = REPLACE(txtConnStr, ';Password=', ';Encrypt=true;Password=')
54 +WHERE txtConnStr NOT LIKE '%Encrypt%'
44 44  
45 45  UPDATE tblBatchParent SET txtDocConnStr = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
46 46  WHERE txtDocConnStr NOT LIKE '%Encrypt%'
47 47  
48 -UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
59 +UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtConnStrSchedule, ';Password=', ';Encrypt=true;Password=')
49 49  WHERE txtConnStrSchedule NOT LIKE '%Encrypt%'
50 50  
51 -UPDATE tblBatchParent_Schedule SET txtConnStrProcess = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
62 +UPDATE tblBatchParent_Schedule SET txtConnStrProcess = REPLACE(txtConnStrProcess, ';Password=', ';Encrypt=true;Password=')
52 52  WHERE txtConnStrProcess NOT LIKE '%Encrypt%'
53 53  
54 -UPDATE tblBatchParent_Schedule SET txtDocConnStrProcess = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=')
65 +UPDATE tblBatchParent_Schedule SET txtDocConnStrProcess = REPLACE(txtDocConnStrProcess, ';Password=', ';Encrypt=true;Password=')
55 55  WHERE txtDocConnStrProcess NOT LIKE '%Encrypt%'
67 +{{/code}}
56 56  
69 +=== System Settings ===
57 57  
71 +{{code language="SQL"}}
72 +
73 +UPDATE prgSystemSettings SET txtDocumentDatabaseConnection = REPLACE(REPLACE(txtDocumentDatabaseConnection, ';pwd=', ';Encrypt=true;pwd='), ';Password=', ';Encrypt=true;Password=')
74 +WHERE txtDocumentDatabaseConnection NOT LIKE '%Encrypt%'
75 +
76 +UPDATE prgSystemSettings SET txtDocumentDatabaseConnection = REPLACE(REPLACE(txtAdditionalDocumentDatabaseConnection, ';pwd=', ';Encrypt=true;pwd='), ';Password=', ';Encrypt=true;Password=')
77 +WHERE txtAdditionalDocumentDatabaseConnection NOT LIKE '%Encrypt%'
58 58  {{/code}}
79 +
80 +=== SSIS Service Steps ===
81 +
82 +{{code language="SQL"}}
83 +UPDATE tblSSISServiceSteps SET txtFromConnectionString = REPLACE(txtFromConnectionString, ';Password=', ';Encrypt=true;Password=')
84 +WHERE txtFromConnectionString NOT LIKE '%Encrypt%'
85 +
86 +UPDATE tblSSISServiceSteps SET txtFromConnectionString = REPLACE(txtToConnectionString, ';Password=', ';Encrypt=true;Password=')
87 +WHERE txtToConnectionString NOT LIKE '%Encrypt%'
88 +{{/code}}
89 +
90 +

Need help?

If you need help with XWiki you can contact: