I recently upgraded to 7.0.8, with PHP 7. I downloaded the latest cacert.pem from the CURL, put it in C:\xampp, and set ...
curl.cainfo = "C:\xampp\cacert.pem"
... in my php.ini.
But I'm still unable to open any SSL connections, for instance with PHPMailer, I get the dreaded ...
Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.
OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
I'm aware that as of PHP 5.6, verify_peer is now set to true by default in SSL connections, but adding the cacert.pem and setting openssl.cafile in php.ini should have fixed that?