title: CXF RESTful Client - How to do trust all certs?
body: <p>I have written Jersey RESTful clients that made use of a <em>Dumb</em> X509TrustManager and HostnameVerifier to trust all SSL certs on our lab systems to make it easier to deal with certs that are self-signed.  </p>
  
  <pre><code>        ClientConfig config = new DefaultClientConfig();
          SSLContext context = null;
          try
          {
              context = SSLContext.getInstance("SSL");
              context.init(null,
                      new TrustManager[] { new DumbX509TrustManager() },
                      null);
              config.getProperties()
                      .put(HTTPSProperties.PROPERTY_HTTPS_PROPERTIES,
                              new HTTPSProperties(this.getHostnameVerifier(),
                                      context));
              webClient = Client.create(config);
          }
          ....
  </code></pre>
  
  <p>Is there a way for me to do something similar using CXF?</p>