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

jaasDualAuthenticationPlugin with client authentication not working for networkConnector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.10.0
    • None
    • Transport
    • None
    • Windows, Java 1.7

    Description

      When using jaasDualAuthentication with username/password for tcp connections and certification authentication for ssl, this works just fine then connection as a client. But when I try to setup a network connector over ssl with certification authentication it fails to connect with this error:
      java.lang.SecurityException: User name [null] or password is invalid.

      I also tried with nio+ssl with the same result

      If I change to jaasCertificateAuthentication it works for ssl connections but the non ssl fails (as expected)
      When I use nio+ssl with jaasCertificateAuthentication this also fails with this error:
      java.lang.SecurityException: Unable to authenticate transport without SSL certificate.
      But after failing 3 times it finally connects successfully on the 4:th attempt.

      So it seems that jaasDualAuthentication doesn't work with Certificate Authentication.

      Attachments

        1. conf.zip
          10 kB
          Henrik Karlsson

        Issue Links

          Activity

            People

              Unassigned Unassigned
              heka Henrik Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: