Skip to main content
Question

IFS 9/10 TLS1.2 smtp.office365


paguin
Sidekick (Partner)
Forum|alt.badge.img+11
  • Sidekick (Partner)
  • 140 replies

Hello,

multiple clients are getting error of TLS 1.2 on both IFS 9 and IFS10.

Failed to send message (javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;

  nested exception is:

              javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)

 

Kindly suggest the fix

Regards

Pankaj

8 replies

Anil Dubey
Do Gooder (Partner)
Forum|alt.badge.img+6
  • Do Gooder (Partner)
  • 24 replies
  • January 18, 2024

Hi @paguin ,

 

Normally, TLS1.2 is supported for office365 

Have you tried to do telnet to smtp.office365.com and on port : 587 from the IFS server to check if you are able to connect it outside IFS application? If yes, perhaps you can check the security protocol and it should be SMTP+STARTTLS 

 

Regards,

Anil


paguin
Sidekick (Partner)
Forum|alt.badge.img+11
  • Author
  • Sidekick (Partner)
  • 140 replies
  • January 19, 2024

@Anil Dubey ,

thanks for your response. i am able to telnet to smtp host with port 587.

But still i am getting error 

Error while sending data... 
Caused by: javax.mail.MessagingException: Could not convert socket to TLS 
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake 
Caused by: java.io.EOFException: SSL peer shut down incorrectly

Any further solutions are welcome

regards

Pankaj

 


Anil Dubey
Do Gooder (Partner)
Forum|alt.badge.img+6
  • Do Gooder (Partner)
  • 24 replies
  • January 19, 2024

@paguin 

I think there could be several areas of concerns which you will have to check in order to fix this issue. To fix it faster, I suggest that you will have to open IFS case to get R&D attention + a case with Microsoft office 365 team

you will have check when this issue started and what changes has been done before that. Possible reasons could be :

=> Disabling of TLS1.0 and TLS 1.1  (but it has been ongoing for past 2 years but it depends if you were still on TLS 1.0 or 1.1)

Disabling TLS 1.0 and 1.1 for Microsoft 365 | Microsoft Learn

Preparing for TLS 1.2 in Office 365 and Office 365 GCC | Microsoft Learn

=> SSL Certificate issue 

 

Regards,

Anil


Forum|alt.badge.img+4
  • Do Gooder
  • 5 replies
  • March 25, 2024

Hi Team, Do we find any solution for this


paguin
Sidekick (Partner)
Forum|alt.badge.img+11
  • Author
  • Sidekick (Partner)
  • 140 replies
  • March 25, 2024

@surenswo 

nops 

tried all what was possible 

any one who can help here …

Regards

Pankaj


Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 49 replies
  • April 19, 2024

@paguin 

Hi Pankaj,

Have you found a solution for this? or have you already dispatched a case to IFS?

Best Regards,
Hashan


FLESTEFAN
Do Gooder (Partner)
Forum|alt.badge.img+2
  • Do Gooder (Partner)
  • 4 replies
  • April 19, 2024

There are other community posts that might be interesting for TLS1.2

Enabling TLS 1.2 support in IFS Apps9 | IFS Community or
New opt-in endpoint available for SMTP AUTH clients still needing legacy TLS - Microsoft Community Hub

One of our customers is facing the “Could not convert socket to TLS” issue and hopefully updating to TLS1.2 and removing TLS1.0 and TLS1.1 by reconfiguring the environment will solve the issue

Best regards,
  Stefan


paguin
Sidekick (Partner)
Forum|alt.badge.img+11
  • Author
  • Sidekick (Partner)
  • 140 replies
  • April 19, 2024

Hello @FLESTEFAN ,

None of these solutions worked. 

https://techcommunity.microsoft.com/t5/exchange-team-blog/new-opt-in-endpoint-available-for-smtp-auth-clients-still/ba-p/2659652 - is not more valid as MS has disabled this.

have tried this also

but did not work.

ANy other solution will be highly appriciated 

REgards

Pankaj

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings