code: public KieServerHttpRequest trustAllHosts() {
          final HttpURLConnection connection = getConnection();
          if( connection instanceof HttpsURLConnection )
              ((HttpsURLConnection) connection).setHostnameVerifier(getTrustedVerifier());
          return this;
      }
docs: Configure HTTPS connection to trust all hosts using a custom {@link HostnameVerifier} that always returns <code>true</code>
  for each
  host verified
  <p>
  This method does nothing if the current request is not a HTTPS request
  
  @return this request