verify_peer and verify_peer_name
in the stream / socket options per socket connection. Or use a valid SSL certificate.
Please see http://php.net/manual/en/migration56.openssl.php for more info.
Starting at PHP 5.6, PHP does a verify of the SSL certificate and if it fails to the connection is terminated and will return a failed connection error. To get around this, you need to change the
- 22 Users Found This Useful