Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3996

NIO + SSL: Client certificates are null

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.6.0, 5.7.0
    • 5.8.0
    • None
    • None

    Description

      If using protocol nio+ssl, the ConnectionInfo transportContext property does not contains peer certificates (which are present in the plain tcp ssl transport).

      The problem is that in the NIO transport, calling sslSession.getPeerCertificates() returns null.

      Attachments

        1. AMQ3996.tgz
          2 kB
          Massimo Paladin
        2. NIOSSLTransportWithJaasCertificateAuthBrokerTest.java
          6 kB
          Timothy A. Bish
        3. ssl.png
          58 kB
          Francesco Romano
        4. nio+ssl.png
          59 kB
          Francesco Romano
        5. NIOSSLTransportWithJaasCertificateAuthBrokerTest.java
          3 kB
          Christian Posta
        6. broker-jaas-ssl-nio.xml
          3 kB
          Christian Posta
        7. NIOSSLTransportWithJaasCertificateAuthBrokerTest.java
          2 kB
          Christian Posta

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tabish Timothy A. Bish
            francesco.romano Francesco Romano
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment