rejected our certificate?
I have two servers .. webserver and mailserver
After i upgrade php to 5.6 i tried to send smtp mails through php script i got error messages in mail server log says
I dig deep and i found that OpenSSL changes in PHP 5.6.x Stream wrappers now verify peer certificates and host names by default when using SSL/TLS PHP: OpenSSL changes in PHP 5.6.x - Manual My php script setting was smtp port 465 and ssl encryption Sending emails only works now if i set smtp port to 25 and no encryption I want to know how to disable verify peer check in php or if there anything i should do in my mail server to pass this problem Note : my mail server have no valid certification on
TLS error on connection from [IP ADDRESS]:48936 (SSL_accept): error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
TLS client disconnected cleanly (rejected our certificate?)
I dig deep and i found that OpenSSL changes in PHP 5.6.x Stream wrappers now verify peer certificates and host names by default when using SSL/TLS PHP: OpenSSL changes in PHP 5.6.x - Manual My php script setting was smtp port 465 and ssl encryption Sending emails only works now if i set smtp port to 25 and no encryption I want to know how to disable verify peer check in php or if there anything i should do in my mail server to pass this problem Note : my mail server have no valid certification on
-
Note : my mail server have no valid certification on
Hello, You can obtain a free cPanel-signed SSL certificate for services such as Exim per the instructions at: Manage Service SSL Certificates - Documentation - cPanel Documentation Have you disabled this feature? Thank you.0
Please sign in to leave a comment.
Comments
1 comment