PHP 5.6, 7.0 Fails to connect via SSL / TLS

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 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.
  • 22 Users Found This Useful
Was this answer helpful?

Related Articles

How to create a .htaccess file

Creating a .htaccess is easier then it sounds. You can create an .htaccess file in any text...

http Error codes

The following are http status and error codes that are returned for each file access via a web...

Frontpage Publishing via FTP

Frontpage extensions are not supported on our servers due to bugs in the extensions (some...

How to upload / create your site.

Creating your site How you create your site depends on what you want to do with it.  You...

Changing php.ini directives via .htaccess

A script you want to use requires a different setting then we have set?  No problem, you...