Welcome Guest, Not a member yet? Register   Sign In
Email Class SSL verification bug on PHP 5.6 (SSL3_GET_SERVER_CERTIFICATE)

(01-08-2015, 02:14 AM)Avenirer Wrote:
(01-07-2015, 03:43 PM)kamikaze Wrote: @Avenirer Could you be more specific?

@Rômulo and @Rufnex, I solve this problem, and I wrote about in this post on my blog at: here [PT-BR]
Its a simple problem about openssl.cafile set on php.ini (PHP 5.6+)

(01-06-2015, 01:45 AM)Avenirer Wrote: That error is related to the firewall settings of your server... I think... and not to CodeIgniter.

So, was I right? It was a problem with the firewall and the ports?

I get solve this problem :

Edit File System/libraries/Email.php 

function _smtp_connect
change fsockopen to [font=Tahoma, Verdana, Arial, sans-serif]stream_socket_client[/font]
$context = stream_context_create([
            'ssl' => [
                'verify_peer' => false,
                'verify_peer_name' => false

$this->_smtp_connect = stream_socket_client($ssl.$this->smtp_host . ':' 
                                        . $this->smtp_port,
                                        $this->smtp_timeout,STREAM_CLIENT_CONNECT, $context);

Messages In This Thread
RE: Email Class SSL verification bug on PHP 5.6 (SSL3_GET_SERVER_CERTIFICATE) - by DenilsonPereira - 05-15-2020, 09:41 AM

Theme © iAndrew 2016 - Forum software by © MyBB