title: Android 4.4 - HttpClient - TLS - accept all certificate
body: <p>I'm developing an app. targeting <strong>Android 4.4 (API level 19)</strong> and I want, during my HTTP exchanges, to accept all certificates in case of HTTPS connections. It's an explicit choice because my app is a like of scanner.</p>
  
  <p>All the example that I have found, use the fact that the class "<em>org.apache.http.conn.ssl.SSLSocketFactory</em>" possess a contructor accepting a SSL context and a Hostname verifier. </p>
  
  <p>The problem is that the implementation of the "SSLSocketFactory" class in API level 19 do not have this constructor version anymore and I cannot find a way to provide a custom TrustManager to the class "SSLSocketFactory".</p>
  
  <p>Is it still possible to achieve my goal with HttpClient in Android API level 19 ?</p>