From edae307d33ca5e3f09b23e6966e29bfebec3dddd Mon Sep 17 00:00:00 2001 From: Arun Patidar Date: Sat, 2 Jul 2016 08:50:31 +0000 Subject: [PATCH] Applied patch from jira issue - OFBIZ-7551 - Enforce noninstantiability to SSLUtil class. Thanks Rishi solanki and Rohit Koushal for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1751040 13f79535-47bb-0310-9956-ffa450edef68 --- oagis/src/org/ofbiz/oagis/OagisServices.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oagis/src/org/ofbiz/oagis/OagisServices.java b/oagis/src/org/ofbiz/oagis/OagisServices.java index 7873c3c25..3fc47c845 100644 --- a/oagis/src/org/ofbiz/oagis/OagisServices.java +++ b/oagis/src/org/ofbiz/oagis/OagisServices.java @@ -703,7 +703,7 @@ public class OagisServices { HttpClient http = new HttpClient(sendToUrl); // test parameters - http.setHostVerificationLevel(SSLUtil.HOSTCERT_NO_CHECK); + http.setHostVerificationLevel(SSLUtil.getHostCertNoCheck()); http.setAllowUntrusted(true); http.setDebug(true);