Cant send emails with SSL/TLS
-
I’m using gravity forms and for some reason my WP Mail SMTP plugin stopped working today. It says it cant connect to the SMTP server. Our mail server is in house. I triple checked the login info and ports. I validated that it wasn’t being blocked by the server or firewall. It doesn’t seem to even hit the server since the mail server logs don’t register anything. In Debug mode, wordpress doesn’t give any errors with SSL, but with TLS i did get this in my error.log:
PHP 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 /home/htdocs/wwwIRONNET/wp-includes/class-smtp.php on line 369The mailer works fine if I disable encryption entirely. The only changes I made recently was I updated all of our sites at ironcounty.net to a wildcard certificate, *.ironcounty.net (before, we had a like 10-12 individual certificates) so I deleted the old certs from the server and installed the new wildcard .crt and .key files, then updated the httpd.conf virtual host entries to point to the new crt, key, and chain files.
I spent all day trying to figure this out. I ssh’ed into the server and was able to send successfully, so it seems like the only explanation is a wordpress issue, or something with the PHP mailer. Thoughts? I’m totally stumped.
The page I need help with: [log in to see the link]
- The topic ‘Cant send emails with SSL/TLS’ is closed to new replies.