On 10/28/2014 01:13 AM, admin wrote:
Hi gents,
I've just upgraded my server to PHP 5.6 and ran straight into the invalid cert issue. It seems that by default, PHP will now check if the certificate is actually valid! That's quite a nice feature but a slight pain when you are mostly dealing with self-signed certificates. Now, I did go ahead and upgrade to an actual valid certificate!
Some more on this: http://php.net//manual/en/migration56.openssl.php
This link https://bbs.archlinux.org/viewtopic.php?id=187063 does seem to provide some solutions and I've tried using :
$config['imap_conn_options'] = array( 'ssl' => array( 'verify_peer' => false, 'verfify_peer_name' => false,
^^
A typo here.