Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to main #128

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
]
}
}
}
}
Loading