action-send-mail icon indicating copy to clipboard operation
action-send-mail copied to clipboard

Certification Error while using TLS on port 587 and on port 25

Open SID262000 opened this issue 1 year ago • 7 comments

Team,

I'm getting the following error on usage of the emailing service on port 587

Error: 0098C782CB7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:

I'm also getting a second error on trying the emailing service on port 25

unable to get local issuer certificate

We don't support port 465 usage on our emailing server.

Can you please investigate this and recommend a solution? Thanks!

SID262000 avatar Sep 17 '24 16:09 SID262000

Tagging @dawidd6 for review and potential response.

SID262000 avatar Sep 17 '24 16:09 SID262000

Just tried this with postmarkapp.com, and I have the same issue.

silviogutierrez avatar Sep 20 '24 21:09 silviogutierrez

Did you try setting secure input?

dawidd6 avatar Sep 21 '24 15:09 dawidd6

These are the settings that work for me

    # port 465
    server_port: 465
    secure: true
    ignore_cert: false
        
    # port 587
    server_port: 587
    secure: false

The question is though, if secure: false, is their any actual TLS / SSL going on in the background. Because the last thing I want to do is start sending emails without SSL.

Yes port 587 is preferred over 465 now, but SSL is a vital part.

Aetherinox avatar Sep 28 '24 11:09 Aetherinox

I too refer the same, and getting below error: Error: self-signed certificate in certificate chain Could you please suggest?

bhaum500 avatar Apr 07 '25 11:04 bhaum500

The same problem for me, I'm using the smtp-mail.outlook.com server.

evozniak avatar Apr 07 '25 11:04 evozniak

Bump on this, using smtp.gmail.com:587

empydoodle avatar May 16 '25 10:05 empydoodle