Skip to content Skip to sidebar Skip to footer

SSL/TLS Protocols And Cipher Suites With The AndroidHttpClient

EDIT: Apologies if my original post was poorly worded. It led to some confusion, represented by comments to the original post. So let me try again: I started with a question. I wan

Solution 1:

When using the AndroidHttpClient to make REST requests via HTTPS, how can I specify which SSL protocols and ciphers to use?

I don't believe you can do it with AndroidHttpClient. Everything I've done to harden the channel (like cipher lists, certificate pinning, and public key pinning) required a custom class somewhere, whether it was SSLSocketFactory or X509TrustManager. That's Java and that's Android. See How to override the cipherlist sent to the server by Android when using HttpsURLConnection?.


Post a Comment for "SSL/TLS Protocols And Cipher Suites With The AndroidHttpClient"