Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 4996

Did something change in WP Mail SMTP that prevents certificate verification?

$
0
0

Replies: 1

I am trying to send a test email Via the Newsletter plugin using the “WP Mail SMTP” plugin. I get back a message that

“Something went wrong. Check the error logs on status page.
Test subscribers: 4 email addresses
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting”

So I go to the “WP Mail SMTP” to send a test email and I get the message

“Misconfigured server certificate.
This means OpenSSL on your server isn’t able to verify the host certificate.
There are a few reasons why this is happening. It could be that the host certificate is misconfigured, or this server’s OpenSSL is using an outdated CA bundle.”

I contacted the server administrator, who said

“I’ve been running tests on WP Mail SMTP and it seems to run into some errors related to TLS (encrypted connections):
2021-11-09 13:47:05 Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [/var/www/html/wordpress/wp-includes/PHPMailer/SMTP.php line 470]

Since—as far as I know—all other SMTP clients that connect to our mail server currently seem to be working well (from Thunderbird to Apple Mail to Outlook to our own webmail client to an Android client I use on my phone), I suspect the WP Mail SMTP development team changed something in their plugin that broke the tropicalforesters setup.

I recommend contacting the WP Mail SMTP team to see if they can provide any insight on this error (though I think they only provide support for paying users).

I wish I could provide a better solution, but it seems the problem lies in WP Mail SMTP server itself. Also, since WP Mail SMTP apparently configures all of the site’s outgoing mail to go through its configuration, all outgoing mail from any of the other plugins (Custom Feed, Wordfence. etc.) will also fail, which is why those plugins are also included in the mail errors.”

The long debugging message string for trying to send the test email from “WP Mail SMTP” is below.

THANKS FOR ANY HELP

full Error Log for debugging
 

Versions:
WordPress: 5.8.1
WordPress MS: Yes
PHP: 7.2.31
WP Mail SMTP: 3.1.0

Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host.
Host: mail.hpcf.upr.edu
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)

Server:
OpenSSL: OpenSSL 1.0.1e 11 Feb 2013
Apache.mod_security: No

Debug:
Email Source: WP Mail SMTP
Mailer: Other SMTP
SMTP Error: Could not connect to SMTP host.

SMTP Debug:

2021-11-09 14:34:54 Connection: opening to mail.hpcf.upr.edu:587, timeout=300, options=array()

2021-11-09 14:34:54 Connection: opened

2021-11-09 14:34:54 SERVER -> CLIENT: 220 mail.hpcf.upr.edu ESMTP Postfix

2021-11-09 14:34:54 CLIENT -> SERVER: EHLO tropicalforesters.org

2021-11-09 14:34:54 SERVER -> CLIENT: 250-mail.hpcf.upr.edu250-PIPELINING250-SIZE 30480000250-VRFY250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN

2021-11-09 14:34:54 CLIENT -> SERVER: STARTTLS

2021-11-09 14:34:54 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS

2021-11-09 14:34:54 Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [/var/www/html/wordpress/wp-includes/PHPMailer/SMTP.php line 470]

SMTP Error: Could not connect to SMTP host.

2021-11-09 14:34:54 CLIENT -> SERVER: QUIT

2021-11-09 14:34:54 

2021-11-09 14:34:54 

2021-11-09 14:34:54 Connection: closed

SMTP Error: Could not connect to SMTP host.

Viewing all articles
Browse latest Browse all 4996

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>