diff options
| author | Robert Gemmell <robbie@apache.org> | 2013-03-17 23:47:36 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2013-03-17 23:47:36 +0000 |
| commit | 4c2f59492e4e2d19bbf5d8e4020cb9a4401b16f6 (patch) | |
| tree | 05c090353fbd30b39cecbb3f25e9507b0c8965fe /qpid/java/test-profiles | |
| parent | e907b48c21bb9cbbda8f0c12528015aeb631e983 (diff) | |
| download | qpid-python-4c2f59492e4e2d19bbf5d8e4020cb9a4401b16f6.tar.gz | |
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
Diffstat (limited to 'qpid/java/test-profiles')
| -rw-r--r-- | qpid/java/test-profiles/test_resources/ssl/java_broker_peerstore.jks | bin | 1246 -> 639 bytes |
| -rw-r--r-- | qpid/java/test-profiles/test_resources/ssl/java_broker_truststore.jks | bin | 0 -> 591 bytes |
| -rw-r--r-- | qpid/java/test-profiles/test_resources/ssl/java_client_untrusted_keystore.jks | bin | 0 -> 2056 bytes |
3 files changed, 0 insertions, 0 deletions
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 Binary files differindex 52027cae06..a716581a7e 100644 --- a/qpid/java/test-profiles/test_resources/ssl/java_broker_peerstore.jks +++ b/qpid/java/test-profiles/test_resources/ssl/java_broker_peerstore.jks 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 Binary files differnew file mode 100644 index 0000000000..2af95f21f8 --- /dev/null +++ b/qpid/java/test-profiles/test_resources/ssl/java_broker_truststore.jks 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 Binary files differnew file mode 100644 index 0000000000..45a0c10667 --- /dev/null +++ b/qpid/java/test-profiles/test_resources/ssl/java_client_untrusted_keystore.jks |
