]> source.dussan.org Git - sonarqube.git/commitdiff
Add the capability "trustAllHosts" to ws-client
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 16 Jul 2013 11:36:07 +0000 (13:36 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 16 Jul 2013 11:36:14 +0000 (13:36 +0200)
sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java

index e8cd100597a639c61773cd24bdc7c399a2fcb0ba..19b604884c06f4be5c57d92564ec7f7c519c3151 100644 (file)
@@ -155,7 +155,7 @@ public class HttpRequestFactory {
       .connectTimeout(connectTimeoutInMilliseconds)
       .readTimeout(readTimeoutInMilliseconds)
       .trustAllCerts()
-      .trustAllCerts();
+      .trustAllHosts();
     if (login != null) {
       request.basic(login, password);
     }