Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6792

Fix hard-coded TLSv1 version in MailConnection.java for Java Mail 1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • Javamail_1.6_1.0.1
    • mail
    • Security Level: public (Regular issues)
    • None
    • Patch Available
    • Patch

    Description

      Hi,

      I encountered some issues when using Geronimo Java Mail 1.6 (1.0.0) bundled with TomEE 8.0.5. The related thread [1] can be found on the users@tomee.apache.org Mailing-List.

      In short: 

      • Our mail server does only support TLS 1.2 or TLS 1.3
      • Geronimo Java Mail 1.6 in version 1.0.0 has TLS 1.0 hard-coded in the source and does not use the default protocols or the specified ones via mail.smtp.ssl.protocols for a TLS connection.

      I have attached a patch created via SVN DIFF. 

      [1] https://www.mail-archive.com/users@tomee.apache.org/msg17544.html

      Attachments

        1. GERONIMO-6792-v4.diff
          6 kB
          Richard Zowalla
        2. GERONIMO-6792-v4-no-hardcoding.diff
          6 kB
          Richard Zowalla

        Issue Links

          Activity

            People

              fpapon Francois Papon
              rzo1 Richard Zowalla
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: