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)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,22 +4,16 @@ 4 4 {{toc start="2"/}} 5 5 {{/box}} 6 6 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 14 == Website == 15 15 16 -1. Open the web.config on the web server 9 + 10 +1. Open the **web.config** on the web server with **Notepad** 17 17 1. Look for the section with the connection strings 18 -{{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>19 -<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>20 -<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>21 -<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}}22 -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 **;** 23 23 {{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> 24 24 <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> 25 25 <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> ... ... @@ -37,3 +37,60 @@ 37 37 [[image:1623328456852-301.png]] 38 38 1. Click the **Generate STP File** and save the STP file again 39 39 [[image:1623328525432-818.png]] 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]" ></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 + 47 +== Database Settings == 48 + 49 + 50 +=== Parent Service === 51 + 52 +{{code language="SQL"}} 53 +UPDATE tblBatchParent SET txtConnStr = REPLACE(txtConnStr, ';Password=', ';Encrypt=true;Password=') 54 +WHERE txtConnStr NOT LIKE '%Encrypt%' 55 + 56 +UPDATE tblBatchParent SET txtDocConnStr = REPLACE(txtDocConnStr, ';Password=', ';Encrypt=true;Password=') 57 +WHERE txtDocConnStr NOT LIKE '%Encrypt%' 58 + 59 +UPDATE tblBatchParent SET txtConnStrSchedule = REPLACE(txtConnStrSchedule, ';Password=', ';Encrypt=true;Password=') 60 +WHERE txtConnStrSchedule NOT LIKE '%Encrypt%' 61 + 62 +UPDATE tblBatchParent_Schedule SET txtConnStrProcess = REPLACE(txtConnStrProcess, ';Password=', ';Encrypt=true;Password=') 63 +WHERE txtConnStrProcess NOT LIKE '%Encrypt%' 64 + 65 +UPDATE tblBatchParent_Schedule SET txtDocConnStrProcess = REPLACE(txtDocConnStrProcess, ';Password=', ';Encrypt=true;Password=') 66 +WHERE txtDocConnStrProcess NOT LIKE '%Encrypt%' 67 +{{/code}} 68 + 69 +=== System Settings === 70 + 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%' 78 +{{/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 +
- 1624013566064-709.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.gideonl - Size
-
... ... @@ -1,0 +1,1 @@ 1 +80.3 KB - Content
- 1624013689442-828.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.gideonl - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.7 KB - Content