Making SSLEngine use TLSv1.2 on Android (4.4.2)?

后端 未结 3 1619
耶瑟儿~
耶瑟儿~ 2020-12-02 10:32

Folks, I\'m hoping there\'s something obvious that I\'m missing, and I hope someone will be able to shed some light. I\'m trying to get TLSv1.2 running in an SSL + NIO cont

3条回答
  •  萌比男神i
    2020-12-02 10:37

    Try this solution if you are using okHttp. Solution for enabling TLSv1.2 on Android 4.4

    Had the same issue on Android < 5.0 (16 <= API < 20). Thanks to your posts, I was able to make this work, so for anyone who gets here, this is the out-of-the-box solution. At the time of this writing, I'm using OkHttp 3.4.1.

    Tags : Unable to find acceptable protocols, javax.net.ssl.SSLProtocolException: SSL handshake aborted:

提交回复
热议问题