diff --git a/template/Prepare-WinBuild2022.ps1 b/template/Prepare-WinBuild2022.ps1 index ab0ee64..d599865 100644 --- a/template/Prepare-WinBuild2022.ps1 +++ b/template/Prepare-WinBuild2022.ps1 @@ -286,7 +286,7 @@ else { $credential = New-Object System.Management.Automation.PSCredential($AdminUsername, $secPwd) } -$sessionOptions = New-PSSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck +$sessionOptions = New-PSSessionOption -SkipCACheck -SkipCNCheck # ── Configure HOST-side WinRM client (TrustedHosts for HTTPS Basic auth) ────── # HTTPS/5986 does not require AllowUnencrypted on the host side. Only TrustedHosts diff --git a/template/Prepare-WinBuild2025.ps1 b/template/Prepare-WinBuild2025.ps1 index f74e560..d653143 100644 --- a/template/Prepare-WinBuild2025.ps1 +++ b/template/Prepare-WinBuild2025.ps1 @@ -286,7 +286,7 @@ else { $credential = New-Object System.Management.Automation.PSCredential($AdminUsername, $secPwd) } -$sessionOptions = New-PSSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck +$sessionOptions = New-PSSessionOption -SkipCACheck -SkipCNCheck # ── Configure HOST-side WinRM client (TrustedHosts for HTTPS Basic auth) ────── # HTTPS/5986 does not require AllowUnencrypted on the host side. Only TrustedHosts