We have been using mail-in-a-box for years.
Recently, we were unable to send mail from another server using the mail-in-a-box smtp server located at box.hamletmail.com. The error from the outside server running PHPmailer was
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/vendor/phpformbuilder/mailer/phpmailer/src/SMTP.php line 405]
SMTP Error: Could not connect to SMTP host.
So why does that command say the cert is expired? And when I try to connect to the smtp server from the outside server, it fails?
Could it be looking at a different certificate somehow? How can I tell it to look at the correct certificate?
Thanks!