diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 1ed1a965..dca800a3 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -564,7 +564,9 @@ if($version -lt "5.5") { } # Remove patch once root certificates are updated on image. -$cert_source = 'Curl' +if($env:ImageOS -eq 'win16') { + $cert_source = 'Curl' +} Enable-PhpExtension -Extension $enable_extensions -Path $php_dir Update-PhpCAInfo -Path $php_dir -Source $cert_source