Hi you can find all possible options here: http://php.net/manual/en/context.ssl.php probably you were looking for 'allow_self_signed' option. Also this config works for me to completely disable cert checks: $imap_stream_options = array( 'tls' => array( 'verify_peer' => false, 'verify_peer_name' => false, ), 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, ), ); $smtp_stream_options = array( 'tls' => array( 'verify_peer' => false, 'verify_peer_name' => false, ), 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, ), ); -- Sent from: http://squirrelmail.5843.n7.nabble.com/squirrelmail-users-f3.html ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users