From 6017cdc0881b8d024ee51abc5d90d8fd577f11a1 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 13 Sep 2004 13:35:35 +0000 Subject: SSL Debug System Property gesetzt git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@199 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/spss/handbook/clients/webservice/HTTPSClientAuth.java | 5 ++++- .../moa/spss/handbook/clients/webservice/HTTPSServerAuth.java | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'spss.handbook/clients/webservice/src/at/gv/egovernment/moa') diff --git a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java index 1e440f361..ad7ecb6b6 100644 --- a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java +++ b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java @@ -139,10 +139,13 @@ public class HTTPSClientAuth */ private static void configureSSL() { + // Aktivieren Sie die nächste Zeile für detailliertes Logging des SSL-Verbindungsaufbaus + // System.setProperty("javax.net.debug", "all"); + Security.addProvider(new Provider()); System.setProperty(HANDLER, "com.sun.net.ssl.internal.www.protocol"); - // Konfiguriere Key-Store (enthält privaten Schluessel und Zertifikat des Clients + // Konfiguriere Key-Store (enthält privaten Schlüssel und Zertifikat des Clients) System.setProperty(KEYSTORETYPE, "PKCS12"); System.setProperty(KEYSTORE, "clients/webservice/resources/sslKeys/customer1/moa-ssl-kunde1(pwd=kunde1).p12"); diff --git a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java index 7da2bc3c2..c9f67148f 100644 --- a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java +++ b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java @@ -135,6 +135,9 @@ public class HTTPSServerAuth */ private static void configureSSL() { + // Aktivieren Sie die nächste Zeile für detailliertes Logging des SSL-Verbindungsaufbaus + // System.setProperty("javax.net.debug", "all"); + Security.addProvider(new Provider()); System.setProperty(HANDLER, "com.sun.net.ssl.internal.www.protocol"); -- cgit v1.2.3