Revert "Fetch CA certificate from Curl on all Windows versions"

This reverts commit a7f90656b3.
This commit is contained in:
Shivam Mathur 2021-10-14 20:58:09 +05:30
parent 0bc2f7ce96
commit a357b6a054
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -564,7 +564,9 @@ if($version -lt "5.5") {
}
# Remove patch once root certificates are updated on image.
if($env:ImageOS -eq 'win16') {
$cert_source = 'Curl'
}
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
Update-PhpCAInfo -Path $php_dir -Source $cert_source