From a357b6a054b55563597c4e9c62aa1db31936e8b2 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Thu, 14 Oct 2021 20:58:09 +0530 Subject: [PATCH] Revert "Fetch CA certificate from Curl on all Windows versions" This reverts commit a7f90656b3be3996d1ec5501e8e25d5d35aa9bb2. --- src/scripts/win32.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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