From a7f90656b3be3996d1ec5501e8e25d5d35aa9bb2 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sun, 10 Oct 2021 05:43:54 +0530 Subject: [PATCH] Fetch CA certificate from Curl on all Windows versions --- src/scripts/win32.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index dca800a3..1ed1a965 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -564,9 +564,7 @@ if($version -lt "5.5") { } # Remove patch once root certificates are updated on image. -if($env:ImageOS -eq 'win16') { - $cert_source = 'Curl' -} +$cert_source = 'Curl' Enable-PhpExtension -Extension $enable_extensions -Path $php_dir Update-PhpCAInfo -Path $php_dir -Source $cert_source