Some additional work is required to get the incoming/outgoing mail in Jira Server to use TLS 1.2, even if you are serving Jira itself over TLS 1.2 exclusively.
For some background on Microsoft's change, here's their article on the deprecation of TLS 1.0 and 1.1 for email connections to Office 365. After June 2020 when TLS 1.0 and 1.1 will be rejected on Microsoft's side, POP3 and IMAP will continue working if they're handled over TLS 1.2.
In Jira Server, some extra configuration is needed to enable TLS 1.2 for incoming and outgoing mail. In order to apply these settings, you'll need to be running Jira on Java 8 or above. If you're not sure about this, you can use Jira's System Information Page to determine which version of Java you're running under. Again, you want Java 8 or above in order to apply these settings. Most installations of Jira should be fine, although you may find Java 7 in very old versions of Jira or servers that were set up a long time ago.
-Dmail.imaps.ssl.protocols="TLSv1.2"
-Dmail.smtp.ssl.protocols="TLSv1.2"
After this, Jira should negotiate a TLS 1.2 connection with Office 365!
Cheers,
Daniel
Atlassian documentation reference: JIRA Mail initiates TLSv1 connection only
Daniel, I'll be sure to follow those directions. Thank you.
Just for my own edification: for anyone who uses the built-in version of Java that comes bundled with JSD, is it Java 8+? The Java that is bundled with JSD is routinely updated when the JSD installation itself is updated, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We've bundled Java 8 with the installer since at least Jira 7 (Service Desk 3). I've got another answer here where the specific point release versions are listed for some releases. That being said, I would strongly advise using the System Information page in Jira to determine which version of Java that Jira is actually running under. There have been cases where people who installed using the installer found that a previous admin had modified the install to use the operating system's Java instead of the one that came bundled with Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, we will definitely check the page you referenced to be sure. I was asking more because I wanted to be sure that Java was being routinely updated and not something we have to worry about updating ourselves.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is indeed the case, you'll get updates for the JRE through the installer (assuming nobody has repointed back to system Java).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Jason Freeman ,
this should work pretty well. When you use an actual Java 8 version, TLS 1.2 is supported.
Also have a look here: https://adoptopenjdk.net/release_notes.html
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the bundled version of Java won't do it? I have to start installing a separate Java install just to send emails?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Jason Freeman ,
you can stay with the bundled as long as you Jira version is bundle with a JDK 8. Adopt Open JDK will be sooner or later the preferred Java distribution due to license issues with Oracle.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using the latest version of Jira Service Desk. Does it come with version 8?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then what setting needs to be set to make it use TLS 1.2 or TLS 1.3?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Jason Freeman ,
normally, when a client is connection against an SSL site, both server and client negotiate TLS version and ciphers. When Office 365 doesn't offer TLS 1.0, then the next version is used.
When nobody changed configured - it should just work.
A good explanation can be found here.
And the release notes of Java 8.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.