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.
If I run:
echo QUIT | openssl s_client -starttls smtp -crlf -connect box.hamletmail.com:587
from the outside server, it tells me the certificate has expired.
However, if I log into the admin of the box server at box.hamletmail.com It says the certificate is signed and valid.
Could the outsider server be looking for the smtp server’s certificate in another location, which is why it believes it is expired?
Any help would be great.