Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-11889

Bitbucket fails to send mail to Office365 when using Java 11

    XMLWordPrintable

    Details

      Description

      Problem Definition

      Currently TLS1.1 is used when email notifications are sent from Bitbucket to Office365, as Office365 incorrectly handles protocol negotiation when SSLv2Hello is a client-supported protocol.
      If using Java 11, this causes an exception due to the protocol being downgraded, and emails are not able to be sent at all.
      Office 365 will deprecate definitively TLS 1.0 and TLS 1.1 soon.

      Suggested Solution

      Remove SSLv2Hello from the supported mail protocols Bitbucket Mail Server SMTP Protocol.

      Workaround:

      1. Ensure that SSLv2Hello is not part of the supported mail protocols by adding the following setting to bitbucket.properties:
        mail.crypto.protocols=TLSv1.2
        
      2. Restart Bitbucket

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              khughes@atlassian.com Kristy
              Reporter:
              nij Nicolas Julien
              Votes:
              1 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Backbone Issue Sync

                  • BbS JAC Mirror <> Bitbucket Server
                    Synced with:
                    BBSJAC-278
                    Issue sync status:
                    UP TO DATE
                    Last received:
                    Last sent: