PHP-Binaries
PHP-Binaries copied to clipboard
SSL certificate bundles missing
This is problematic for functions which depend on features provided by openssl, such as https:// support in file_get_contents().
The following php.ini settings should address this for common operating systems:
openssl.cafile=/etc/ssl/cert.pem
openssl.capath=/etc/ssl/certs
I think it's best to rely on system SSL certificates rather than bundling our own, since that way they'll stay up to date with the system without needing to replace the PHP binary.
It turns out this is also problematic for curl on both Windows and *nix. We've just never noticed because PM sets CURLOPT_VERIFYPEER to false in Internet::getURL()...