-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SSL/TLS] Support for pass the stream context #63
Comments
I created a fork which solves this issue hard-coded here: https://github.com/Cruiser13/zend-mail Originally posted by @Cruiser13 at zendframework/zend-mail#84 (comment) |
Um... This component is v2, and still maintained... On Aug 26, 2016 11:54 AM, "Lennart Sauter" notifications@github.com wrote:
Originally posted by @weierophinney at zendframework/zend-mail#84 (comment) |
Sorry, I meant to post it here, got the versions mixed up: zendframework/zf1#709 Originally posted by @Cruiser13 at zendframework/zend-mail#84 (comment) |
Same here. Would be great if we could disable verify_peer for Originally posted by @jensstalder at zendframework/zend-mail#84 (comment) |
Signed-off-by: Johan Cwiklinski <jcwiklinski@teclib.com>
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
Originally posted by @gongo at zendframework/zend-mail#84
The text was updated successfully, but these errors were encountered: