mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fetch CA certificate from Curl on all Windows versions
This commit is contained in:
parent
0cd4af837e
commit
a7f90656b3
@ -564,9 +564,7 @@ if($version -lt "5.5") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Remove patch once root certificates are updated on image.
|
# 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
|
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
|
||||||
Update-PhpCAInfo -Path $php_dir -Source $cert_source
|
Update-PhpCAInfo -Path $php_dir -Source $cert_source
|
||||||
|
Loading…
Reference in New Issue
Block a user