aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-09-13 13:35:35 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-09-13 13:35:35 +0000
commit6017cdc0881b8d024ee51abc5d90d8fd577f11a1 (patch)
treedd821fb2bf50424cea19908f2f7863dcbee4f3e6
parent0e9b98b954e80c6352fbd49ef3d48abff859d593 (diff)
downloadmoa-id-spss-6017cdc0881b8d024ee51abc5d90d8fd577f11a1.tar.gz
moa-id-spss-6017cdc0881b8d024ee51abc5d90d8fd577f11a1.tar.bz2
moa-id-spss-6017cdc0881b8d024ee51abc5d90d8fd577f11a1.zip
SSL Debug System Property gesetzt
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@199 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java5
-rw-r--r--spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java3
2 files changed, 7 insertions, 1 deletions
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");