title: Ignoring SSL certificate in Apache HttpClient 4.3
body: <p>How to ignore SSL certificate (trust all) for <a href="http://hc.apache.org/httpcomponents-client-4.3.x/index.html" rel="noreferrer">Apache HttpClient 4.3</a>?</p>
  
  <p>All the answers that I have found on SO treat previous versions, and the API changed.</p>
  
  <p>Related:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/2703161/how-to-ignore-ssl-certificate-errors-in-apache-httpclient-4-0">How to ignore SSL certificate errors in Apache HttpClient 4.0</a></li>
  <li><a href="https://stackoverflow.com/questions/1828775/how-to-handle-invalid-ssl-certificates-with-apache-httpclient">How to handle invalid SSL certificates with Apache HttpClient?</a></li>
  <li><a href="https://stackoverflow.com/questions/6789597/need-to-trust-all-the-certificates-during-the-development-using-spring">Need to trust all the certificates during the development using Spring</a></li>
  <li><a href="https://stackoverflow.com/questions/12060250/ignore-ssl-certificate-errors-with-java">Ignore SSL Certificate Errors with Java</a></li>
  </ul>
  
  <p>Edit:</p>
  
  <ul>
  <li>It is only for test purposes. Kids, don't try it at home (or in production)</li>
  </ul>