Fetch CA certificate from Curl on all Windows versions

This commit is contained in:
Shivam Mathur 2021-10-10 05:43:54 +05:30
parent 0cd4af837e
commit a7f90656b3
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -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'
}
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
Update-PhpCAInfo -Path $php_dir -Source $cert_source