Mail Service IIoT : Choose TLS type?

snguyen
2020-07-07
2020-07-29
  • snguyen - 2020-07-07

    Hi,
    I currently need to send mail through the IIoT library and it works well with GMail, but I can't get it to work with our mail server.

    Monitoring Wireshark, I've successfully sent mails with our server using python smtplib. It uses TLSv1.2.
    When I send email with the codesys library using our server, it uses TLSv1 and fails.
    However, when I send mail with the codesys library using gmail, it uses TLSv1.2 and works.

    Does anyone have a clue why the library automatically chooses TLSv1? Maybe I can change our server's setting. Also, we cannot remove TLSv1 due to other services.

     
  • eschwellinger

    eschwellinger - 2020-07-09

    Let me check, seems we mis a posibility to force the lib to use either TLS 1.1 or 1.2

     

    Last edit: eschwellinger 2020-07-09
    • snguyen - 2020-07-29

      Hi, do you have any news :) ?

       
  • snguyen - 2020-07-09

    Thank you

     

Log in to post a comment.