Skip to content

Commit 5adb87b

Browse files
committed
fix WinRM paramater spelling for WinCert store type migration script
1 parent c1c09f3 commit 5adb87b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.4.4
2+
* Fix an issue with WinRM parameters when migrating Legacy IIS Stores to the WinCert type
3+
14
2.4.3
25
* Adding Legacy IIS Migration scripting and Readme guide
36

Migration-Scripts/Legacy-IIS/UpgradeIISPersonalToWinCert.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ BEGIN TRY
204204
@win_cert_store_type_id,
205205
[psd].[StoreApproved],
206206
0,
207-
'{"WinRm Protocol":"'+@winrm_protocol+'","WinRm Port":"'+CONVERT(NVARCHAR(10),@winrm_port)+'","spnwithport":"'+@spnwithport+'","ServerUsername":"'+CONVERT(NVARCHAR(36),NEWID())+'","ServerPassword":"'+CONVERT(NVARCHAR(36),NEWID())+'","ServerUseSsl":"true"}',
207+
'{"WinRM Protocol":"'+@winrm_protocol+'","WinRM Port":"'+CONVERT(NVARCHAR(10),@winrm_port)+'","spnwithport":"'+@spnwithport+'","ServerUsername":"'+CONVERT(NVARCHAR(36),NEWID())+'","ServerPassword":"'+CONVERT(NVARCHAR(36),NEWID())+'","ServerUseSsl":"true"}',
208208
[psd].[AgentId]
209209
FROM @iis_store_data [psd];
210210

Migration-Scripts/Legacy-IIS/UpgradeIISRevokedAndRootsToWinCert.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ BEGIN TRY
159159
@win_cert_store_type_id,
160160
[psd].[StoreApproved],
161161
0,
162-
''{"WinRm Protocol":"''+@winrm_protocol+''","WinRm Port":"''+CONVERT(NVARCHAR(10),@winrm_port)+''","spnwithport":"''+@spnwithport+''","ServerUsername":"''+CONVERT(NVARCHAR(36),NEWID())+''","ServerPassword":"''+CONVERT(NVARCHAR(36),NEWID())+''","ServerUseSsl":"true"}'',
162+
''{"WinRM Protocol":"''+@winrm_protocol+''","WinRM Port":"''+CONVERT(NVARCHAR(10),@winrm_port)+''","spnwithport":"''+@spnwithport+''","ServerUsername":"''+CONVERT(NVARCHAR(36),NEWID())+''","ServerPassword":"''+CONVERT(NVARCHAR(36),NEWID())+''","ServerUseSsl":"true"}'',
163163
[psd].[AgentId]
164164
FROM @iis_store_data [psd];'
165165

0 commit comments

Comments
 (0)