diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 index 5dc675471..3f7ff567c 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 @@ -189,6 +189,7 @@ function Get-PackerVersion { } function Get-PhantomJSVersion { + $env:OPENSSL_CONF="/etc/ssl"; phantomjs --version return $(phantomjs --version) } diff --git a/images/linux/scripts/tests/Tools.Tests.ps1 b/images/linux/scripts/tests/Tools.Tests.ps1 index b5102b5e0..c1594eaf7 100644 --- a/images/linux/scripts/tests/Tools.Tests.ps1 +++ b/images/linux/scripts/tests/Tools.Tests.ps1 @@ -326,6 +326,7 @@ Describe "Pulumi" { Describe "Phantomjs" -Skip:(Test-IsUbuntu22) { It "phantomjs" { + $env:OPENSSL_CONF="/etc/ssl"; phantomjs --version "phantomjs --version" | Should -ReturnZeroExitCode } }