From dc710ef92364c5aa73346b77b8bf4296200a449e Mon Sep 17 00:00:00 2001 From: James Ruskin Date: Fri, 18 Oct 2024 13:16:25 +0100 Subject: [PATCH] (#105) Removes Hardened Options from Test It is necessary to update the build in order for the removes-hardening branch to succeed. I suppose this is excellent verification that this is, in fact, a breaking change of sorts! --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 323ea68..99d2f76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -244,9 +244,9 @@ jobs: Write-Host "Setting up '${{ matrix.variant }}' Certificate" $Certificate = switch ('${{ matrix.variant }}') { 'self-signed' { - Write-Host "Creating a Self-Signed Certificate for '$($Vm.Name)'" + Write-Host "Using a Self-Signed Certificate for '$($Vm.Name)'" $CertDetails = @{FQDN = $Vm.Name} - @{Hostname = $CertDetails.FQDN} + @{} } 'single' { $CertDetails = Invoke-Command -Session $Session -ScriptBlock { @@ -268,7 +268,7 @@ jobs: } } Write-Host "Using Certificate with Thumbprint '$($Thumbprint)'" - @{Thumbprint = $CertDetails.Thumbprint; Hardened = $true} + @{Thumbprint = $CertDetails.Thumbprint} } 'wildcard' { $CertDetails = Invoke-Command -Session $Session -ScriptBlock { @@ -290,7 +290,7 @@ jobs: } } Write-Host "Using Wildcard with Thumbprint '$($Thumbprint)'" - @{Thumbprint = $CertDetails.Thumbprint; CertificateDnsName = $CertDetails.FQDN; Hardened = $true} + @{Thumbprint = $CertDetails.Thumbprint; CertificateDnsName = $CertDetails.FQDN} } }