From 52974bce31be3803fb6e6525404998757cb8310e Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 9 May 2014 13:06:56 +0200 Subject: fix configuration errors --- .../moa/id/configuration/config/ConfigurationProvider.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'id/ConfigWebTool/src') diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java index 84af0d225..a2aa2a8a4 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java @@ -488,12 +488,12 @@ public class ConfigurationProvider { if (metadataurl.startsWith("https:")) { try { MOAHttpProtocolSocketFactory protoSocketFactory = new MOAHttpProtocolSocketFactory( - "MOAMetaDataProvider", - AuthConfigurationProvider.getInstance().getCertstoreDirectory(), - AuthConfigurationProvider.getInstance().getTrustedCACertificates(), + "MOAMetaDataProvider", + ConfigurationProvider.getInstance().getCertStoreDirectory(), + ConfigurationProvider.getInstance().getTrustStoreDirectory(), null, - ChainingModeType.fromValue(AuthConfigurationProvider.getInstance().getDefaultChainingMode()), - AuthConfigurationProvider.getInstance().isTrustmanagerrevoationchecking()); + ChainingModeType.PKIX, + true); httpClient.setCustomSSLTrustStore(metadataurl, protoSocketFactory); -- cgit v1.2.3