SSL verify peer problems

Problems with the Windows version of XAMPP, questions, comments, and anything related.

SSL verify peer problems

Postby hugh.messenger » 22. August 2016 04:01

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 ...

openssl.cafile="C:\xampp\cacert.pem"
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?

Any ideas?

-- hugh
hugh.messenger
 
Posts: 1
Joined: 22. August 2016 03:48
XAMPP version: 7.0.8
Operating System: Windows 10

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 49 guests