TLS library problem: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate:s3_pkt.c:1278:SSL alert number 42:

Hello. After adding the second domain to MIAB (first domain works fine), when try to send my SMTP through smtper.net by using mail.mydomain2.com, it fails with this trace:

Feb 17 01:45:45 miab postfix/submission/smtpd[4412]: connect from ns513574.ip-192-99-9.net[192.99.9.142]
Feb 17 01:45:45 miab postfix/submission/smtpd[4412]: warning: TLS library problem: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate:s3_pkt.c:1278:SSL alert number 42:
Feb 17 01:45:45 miab postfix/submission/smtpd[4412]: lost connection after STARTTLS from ns513574.ip-192-99-9.net[192.99.9.142]
Feb 17 01:45:45 miab postfix/submission/smtpd[4412]: disconnect from ns513574.ip-192-99-9.net[192.99.9.142]

I’ve checked SSL certs and the SSL for mail.mydomain2.com is correctly created.

How can i fix this error? I’ve googled but dont find nothing similar to my issue.

Thanks

It’s complicated but here is your issue AND a solution (possible solution)

This issue is not MIAB related either. Hope this helps!!

I have not “Handshake failure” error. And I use LetsEncrypt, not own certificates.
May we do these instructions all MIAB users each time we want to add a new domain with SSL?

Hi yes the above error (In your OP) is a handshake error. Does not specifically say it, but that’s what it is.