SSL/TLS protocols and cipher suites with the AndroidHttpClient

前端 未结 1 569
盖世英雄少女心
盖世英雄少女心 2021-01-02 11:17

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

相关标签:
1条回答
  • 2021-01-02 12:02

    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?.

    0 讨论(0)
提交回复
热议问题