From 4c2f59492e4e2d19bbf5d8e4020cb9a4401b16f6 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Sun, 17 Mar 2013 23:47:36 +0000 Subject: QPID-4636: expand testing of the new TrustManagers - Removes the 'app2' cert from the test broker peer store so it only contains the 'app1' cert. - Add a java broker trust store (currently continues to match client trust store, contans the test CA). - Add a java client keystore with a completely untrusted cert. - Add additional unit testing of QpidPeersOnlyTrustManager inc use of otherwise trusted certs, and completely untrusted certs. - Add additional unit testing of QpidMultipleTrustManager and its behaviour when wrapping a regular TrustManager, a QpidPeersOnlyTrustManager, and both at once. - Add system tests showing a client with untrusted SSL cert failing to connect, then succeeding when adding it to the peerStore on the broker. Work by myself and Michal Zerola. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457599 13f79535-47bb-0310-9956-ffa450edef68 --- .../test_resources/ssl/java_broker_peerstore.jks | Bin 1246 -> 639 bytes .../test_resources/ssl/java_broker_truststore.jks | Bin 0 -> 591 bytes .../ssl/java_client_untrusted_keystore.jks | Bin 0 -> 2056 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 qpid/java/test-profiles/test_resources/ssl/java_broker_truststore.jks create mode 100644 qpid/java/test-profiles/test_resources/ssl/java_client_untrusted_keystore.jks (limited to 'qpid/java/test-profiles') diff --git a/qpid/java/test-profiles/test_resources/ssl/java_broker_peerstore.jks b/qpid/java/test-profiles/test_resources/ssl/java_broker_peerstore.jks index 52027cae06..a716581a7e 100644 Binary files a/qpid/java/test-profiles/test_resources/ssl/java_broker_peerstore.jks and b/qpid/java/test-profiles/test_resources/ssl/java_broker_peerstore.jks differ diff --git a/qpid/java/test-profiles/test_resources/ssl/java_broker_truststore.jks b/qpid/java/test-profiles/test_resources/ssl/java_broker_truststore.jks new file mode 100644 index 0000000000..2af95f21f8 Binary files /dev/null and b/qpid/java/test-profiles/test_resources/ssl/java_broker_truststore.jks differ diff --git a/qpid/java/test-profiles/test_resources/ssl/java_client_untrusted_keystore.jks b/qpid/java/test-profiles/test_resources/ssl/java_client_untrusted_keystore.jks new file mode 100644 index 0000000000..45a0c10667 Binary files /dev/null and b/qpid/java/test-profiles/test_resources/ssl/java_client_untrusted_keystore.jks differ -- cgit v1.2.1