From 328f847c502624c789da557f1887d58c80fe4c1b Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 8 Apr 2020 16:49:02 +0200 Subject: fix broken jUnit test that selects wrong trusted SSL-Client certificate --- .../test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eaaf_core_utils/src') 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(); -- cgit v1.2.3