I've got a few pages that use PHPMailer to send messages, like password change
confirmations. Just now it was reported to me by a user that this isn't
working, and I can reproduce it. Here is the error:
Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.
OpenSSL Error messages: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in
/Library/Server/Web/Data/Sites/Default/flasking/PHPMailer/class.smtp.php on
line 197
Line 197 is:
if(!stream_socket_enable_crypto($this->smtp_conn, true,
STREAM_CRYPTO_METHOD_TLS_CLIENT)) {
return false;
}
I pull all the mail server info in from a FileMaker record with FX.php, and
it's the same info I use for sending company mail from FileMaker, which is
still working (if you are seeing this message).
I did a system update "macOS Sierra Update Version 10.12.6" on the web server
on August 17th, not a major one, a security update. And I don't see that any
PHPMailer-generated mail has occurred (I get BCC'd) after that date, but that's
not conclusive, there wasn't any immediately before. They are infrequent.
Have any of you encountered this?
Troy
_____________________________________________________________________
FX.php Official Web Site -- http://fx.iviking.org/
FX.php Official Mailing List -- //www.freelists.org/list/fx.php_list
(Subscribe, unsubscribe, and more at the mailing list site!)
FX.php_List@xxxxxxxxxxxxxxxx