Skip to content

Commit 953c2d9

Browse files
authored
Merge pull request #129 from Keyfactor/ab#67005-migration-script-fix
Ab#67005 migration script fix
2 parents f3de7ce + 8a8c3c4 commit 953c2d9

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
2.6.1
22
* documentation updates for the 2.6 release
3+
* fix a naming typo in the 2.5 migration SQL script
4+
* update integration-manifest.json
35

46
2.6.0
57
* Added the ability to run the extension in a Linux environment. To utilize this change, for each Cert Store Types (WinCert/WinIIS/WinSQL), add ssh to the Custom Field <b>WinRM Protocol</b>. When using ssh as a protocol, make sure to enter the appropriate ssh port number under WinRM Port.

Migration-Scripts/IISU Sni Flag 2.5 upgrade script.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,28 @@ BEGIN TRY
3737
-- perform batch processing on certstoreinventoryitems to alter their EntryParameters to change the SNiFlag value to be a simple character instead of lots of text
3838
-- replace 0 - No SNI
3939
UPDATE inventoryitems
40-
SET inventoryitems.[EntryParameters] = REPLACE(inventory.[EntryParameters], '0 - No SNI', '0')
40+
SET inventoryitems.[EntryParameters] = REPLACE(inventoryitems.[EntryParameters], '0 - No SNI', '0')
4141
FROM [cms_agents].[CertStoreInventoryItems] AS inventoryitems
4242
INNER JOIN #InventoryItems ON inventoryitems.[Id] = #InventoryItems.[Id]
4343
WHERE inventoryitems.[EntryParameters] LIKE '%0 - No SNI%'
4444

4545
-- replace 1 - SNI Enabled
4646
UPDATE inventoryitems
47-
SET inventoryitems.[EntryParameters] = REPLACE(inventory.[EntryParameters], '1 - SNI Enabled', '1')
47+
SET inventoryitems.[EntryParameters] = REPLACE(inventoryitems.[EntryParameters], '1 - SNI Enabled', '1')
4848
FROM [cms_agents].[CertStoreInventoryItems] AS inventoryitems
4949
INNER JOIN #InventoryItems ON inventoryitems.[Id] = #InventoryItems.[Id]
5050
WHERE inventoryitems.[EntryParameters] LIKE '%1 - SNI Enabled%'
5151

5252
-- replace 2 - Non SNI Binding
5353
UPDATE inventoryitems
54-
SET inventoryitems.[EntryParameters] = REPLACE(inventory.[EntryParameters], '2 - Non SNI Binding', '2')
54+
SET inventoryitems.[EntryParameters] = REPLACE(inventoryitems.[EntryParameters], '2 - Non SNI Binding', '2')
5555
FROM [cms_agents].[CertStoreInventoryItems] AS inventoryitems
5656
INNER JOIN #InventoryItems ON inventoryitems.[Id] = #InventoryItems.[Id]
5757
WHERE inventoryitems.[EntryParameters] LIKE '%2 - Non SNI Binding%'
5858

5959
-- replace 3 - SNI Binding
6060
UPDATE inventoryitems
61-
SET inventoryitems.[EntryParameters] = REPLACE(inventory.[EntryParameters], '3 - SNI Binding', '3')
61+
SET inventoryitems.[EntryParameters] = REPLACE(inventoryitems.[EntryParameters], '3 - SNI Binding', '3')
6262
FROM [cms_agents].[CertStoreInventoryItems] AS inventoryitems
6363
INNER JOIN #InventoryItems ON inventoryitems.[Id] = #InventoryItems.[Id]
6464
WHERE inventoryitems.[EntryParameters] LIKE '%3 - SNI Binding%'

integration-manifest.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,6 @@
479479
},
480480
"StorePathValue": "My",
481481
"PrivateKeyAllowed": "Optional",
482-
"JobProperties": [
483-
"InstanceName"
484-
],
485482
"ServerRequired": true,
486483
"PowerShell": false,
487484
"BlueprintAllowed": true,
@@ -492,4 +489,4 @@
492489
]
493490
}
494491
}
495-
}
492+
}

0 commit comments

Comments
 (0)