Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8016

[Broker-J] FileKeyStore alias does not select the correct certificate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-6.1, qpid-java-broker-7.0.0
    • qpid-java-broker-7.0.3
    • Broker-J
    • None

    Description

      Keystore provider implementation FileKeyStore has a #certificateAlias attribute that is supposed to select a single certificate for use from a store that has many. This feature does not currently work. It seems that the last certificate is chosen regardless of the alias specified by the user.

      I reproduced this problem with test resource at test-profiles/test_resources/ssl/java_client_keystore.jks. It contains two non-CA certs app1 and app2. app2 was always presented over the TLS enabled socket, regardless of the setting of the certificateAlias

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: