How do I update the TLS version?

Hi,

I am getting the below error:

Failed to send email notification via SMTP server 'smtp.office365.com', due to error: 421 4.7.66 TLS 1.0 and 1.1 are not supported. Please upgrade/update your client to support TLS 1.2. Visit https://aka.ms/smtp_auth_tls. [DB6P18901CA0013.EURP189.PROD.OUTLOOK.COM]

and I have been asked to disable TLS 1.0 and 1.1.

I have tried following the instructions on https://aka.ms/smtp_auth_tls but I cannot find 'set-transportconfig' to update it.

Is it something I definitely have?  I do not see any references to it on the 'E-mail notifier' screen.

0
2 comments
Hello,
Which versions of Java and TeamCity are you using? There was a recent upgrade of java which disabled TLS protocols under TLS 1.2 due to security restrictions. So if you are using a very old version of Java (or TeamCity), upgrading might solve the issue.
You can also consider creating a System Environment Variable 'TEAMCITY_SERVER_OPTS' and setting its value to -Dmail.smtp.ssl.protocols=TLSv1.2 to force TeamCity to use TLS 1.2. You can find more information about it in our documentation:
 
Note: If you create the System Environment Variable above you will need to restart the TeamCity server so that the change is effective.
 
Please let me know if this information helped you or ir you have any more questions.
 
Thanks
1

Hi,

I am using Java version 8 update 241 and TeamCity version 2019.1.3 (build 6643).

Would these need to be upgraded?

Regards

Steve

0

Please sign in to leave a comment.