title: Java - How to disable SSL Certification Validation
body: <p>I'm trying to make a request using a custom Axis2 soap library.</p>
  
  <p><strong>The target URL that I am testing does not have a valid certification</strong> so I need a way to accept all incomming requests.</p>
  
  <p>I tried stuff like <code>X509TrustManager</code> but doesn't work.</p>
  
  <p>The problem is that I'm getting </p>
  
  <blockquote>
    <p>Caused by: sun.security.validator.ValidatorException: PKIX path
    building failed:
    sun.security.provider.certpath.SunCertPathBuilderException: unable to
    find valid certification path to requested target</p>
  </blockquote>
  
  <p>Any ideas?</p>