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

certificate-based authentication on network bridge fails for nio+ssl protocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.0
    • 5.15.0
    • Network of Brokers
    • None

    Description

      client certificate authentication works in the following scenario:

      Broker A
          ...
          <jaasDualAuthenticationPlugin 
              configuration="activemq"
              sslConfiguration="CertLogin" />
          ...
          <transportConnector name="sslTransportConnector" uri="ssl://0.0.0.0:61618?needClientAuth=true&amp;wantClientAuth=true"/>
      

      Broker B

          ...
          networkConnector uri="static://(ssl://localhost:61618)" name="myNetworkConnector" duplex="true" consumerTTL="2" messageTTL="100" dynamicOnly="false">
          ...
      

      But if you change the transport to nio+ssl, the network connector fails with the following message:

      INFO | Stopping vm://localhosta#0 because Failed with SecurityException: User name [null] or password is invalid.
      

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: