title: How to ignore ssl on the microprofile rest client of quarkus
body: <p>I'd like to ignore hostname verify and ignore client side certification validation while calling https rest api with RestClient </p>
  
  <p>I cannot find a way to do it without using builder.</p>
  
  <p>and seems that the hostverifier does not work at all.</p>
  
  <pre><code>
  public interface RHPAMRestClient {
  
    // Starts a new process instance of a specified process.
    @POST
    @Path("/server/containers/{containerId}/processes/{processId}/instances")
    @Produces(MediaType.APPLICATION_JSON)
    @Consumes(MediaType.APPLICATION_JSON)
    Object startProcess(@PathParam String containerId, @PathParam String processId, Object req);
  }
  
  RHPAMRestClient c = RestClientBuilder.newBuilder()
      .baseUri(new URI(""))
      .sslContext(SSLContexts.custom().loadTrustMaterial((chain, authType) -&gt; true).build())
      .hostnameVerifier((hostname, session) -&gt; { 
          System.err.println("hostname verifier");
          return true;
      })
      .build(RHPAMRestClient.class);
  
      c.startProcess("", "", null);
  
  </code></pre>