From d4a9e511f8aff209ab7368f0ba911f13bea5743e Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 16 Jul 2013 13:36:07 +0200 Subject: [PATCH] Add the capability "trustAllHosts" to ws-client --- .../java/org/sonar/wsclient/internal/HttpRequestFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java index e8cd100597a..19b604884c0 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java @@ -155,7 +155,7 @@ public class HttpRequestFactory { .connectTimeout(connectTimeoutInMilliseconds) .readTimeout(readTimeoutInMilliseconds) .trustAllCerts() - .trustAllCerts(); + .trustAllHosts(); if (login != null) { request.basic(login, password); } -- 2.39.5