-
Notifications
You must be signed in to change notification settings - Fork 110
[SSL/TLS] Support for pass the stream context #84
Comments
I created a fork which solves this issue hard-coded here: https://github.com/Cruiser13/zend-mail |
Um... This component is v2, and still maintained... On Aug 26, 2016 11:54 AM, "Lennart Sauter" notifications@github.com wrote:
|
Sorry, I meant to post it here, got the versions mixed up: zendframework/zf1#709 |
Same here. Would be great if we could disable verify_peer for |
This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at laminas/laminas-mail#63. |
From PHP 5.6, SSL/TLS client streams now enable peer verification by default.
So, error occurs when communicate with the server that is using a self-signed certificate.
See: http://php.net/manual/migration56.openssl.php
In order to avoid the above problem:
In this way, there is a need to pass a stream context to the stream function.
However, the current
Zend\Mail\Protocol\Pop3
andZend\Mail\Protocol\Smtp
look like does not provide an interface to pass stream context.Is there support for the above interface in future?
A similar way: zend-http/zend.http.client.adapters.md at release-2.5.4 · zendframework/zend-http
The text was updated successfully, but these errors were encountered: