From: Simon Brandhof Date: Tue, 16 Jul 2013 11:36:07 +0000 (+0200) Subject: Add the capability "trustAllHosts" to ws-client X-Git-Tag: 3.7~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4a9e511f8aff209ab7368f0ba911f13bea5743e;p=sonarqube.git Add the capability "trustAllHosts" to ws-client --- 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); }