mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-23 23:29:07 +07:00
Fetch CA certificate from Curl on all Windows versions
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user