Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
qpid-java-6.1, qpid-java-broker-7.0.0
-
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