summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-04-08 16:49:02 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-04-08 16:49:02 +0200
commit328f847c502624c789da557f1887d58c80fe4c1b (patch)
tree3bd368ba8eae4764a3315a87d839ccff5e78e2cd
parentbfaeb328b295a9508e351068b5061de4efb47645 (diff)
downloadEAAF-Components-328f847c502624c789da557f1887d58c80fe4c1b.tar.gz
EAAF-Components-328f847c502624c789da557f1887d58c80fe4c1b.tar.bz2
EAAF-Components-328f847c502624c789da557f1887d58c80fe4c1b.zip
fix broken jUnit test that selects wrong trusted SSL-Client certificate
-rw-r--r--eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java
index 25bd3008..03a92b46 100644
--- a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java
+++ b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java
@@ -311,6 +311,8 @@ public class HttpClientFactoryTest {
final HandshakeCertificates serverCertificates = new HandshakeCertificates.Builder()
.addTrustedCertificate(
(X509Certificate) sslClientKeyStore.getFirst().getCertificate("meta"))
+ .addTrustedCertificate(
+ (X509Certificate) sslClientKeyStore.getFirst().getCertificate("sig"))
.heldCertificate(localhostCertificate)
.build();
mockWebServer = new MockWebServer();