code: public KieServerHttpRequest trustAllCerts() throws KieServerHttpRequestException {
          final HttpURLConnection connection = getConnection();
          if( connection instanceof HttpsURLConnection )
              ((HttpsURLConnection) connection).setSSLSocketFactory(getTrustedFactory());
          return this;
      }
docs: Configure HTTPS connection to trust all certificates
  <p>
  This method does nothing if the current request is not a HTTPS request
  
  @return this request
  @throws KieServerHttpRequestException