Skip to content

Commit

Permalink
Merge ca38917 into 9fcf193
Browse files Browse the repository at this point in the history
  • Loading branch information
doebrowsk authored Feb 6, 2025
2 parents 9fcf193 + ca38917 commit d6b3a3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Migration-Scripts/IISU Sni Flag 2.5 upgrade script.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,28 @@ BEGIN TRY
-- perform batch processing on certstoreinventoryitems to alter their EntryParameters to change the SNiFlag value to be a simple character instead of lots of text
-- replace 0 - No SNI
UPDATE inventoryitems
SET inventoryitems.[EntryParameters] = REPLACE(inventory.[EntryParameters], '0 - No SNI', '0')
SET inventoryitems.[EntryParameters] = REPLACE(inventoryitems.[EntryParameters], '0 - No SNI', '0')
FROM [cms_agents].[CertStoreInventoryItems] AS inventoryitems
INNER JOIN #InventoryItems ON inventoryitems.[Id] = #InventoryItems.[Id]
WHERE inventoryitems.[EntryParameters] LIKE '%0 - No SNI%'

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

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

-- replace 3 - SNI Binding
UPDATE inventoryitems
SET inventoryitems.[EntryParameters] = REPLACE(inventory.[EntryParameters], '3 - SNI Binding', '3')
SET inventoryitems.[EntryParameters] = REPLACE(inventoryitems.[EntryParameters], '3 - SNI Binding', '3')
FROM [cms_agents].[CertStoreInventoryItems] AS inventoryitems
INNER JOIN #InventoryItems ON inventoryitems.[Id] = #InventoryItems.[Id]
WHERE inventoryitems.[EntryParameters] LIKE '%3 - SNI Binding%'
Expand Down
5 changes: 1 addition & 4 deletions integration-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,6 @@
},
"StorePathValue": "My",
"PrivateKeyAllowed": "Optional",
"JobProperties": [
"InstanceName"
],
"ServerRequired": true,
"PowerShell": false,
"BlueprintAllowed": true,
Expand All @@ -492,4 +489,4 @@
]
}
}
}
}

0 comments on commit d6b3a3e

Please sign in to comment.