Working with TLS 1.2 on Android 4.4 and Lower

Ankush Gupta
Aug 3, 2018 · 5 min read
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License

Installing TLS 1.2 Where Needed

Calling ProviderInstaller.installIfNeeded only after an SSLException allows us to support users with TLS 1.2 already installed with minimal disruption

Forcing TLS 1.2 To Be Enabled

The latest protocols installed on a device are not necessarily enabled on its default SSLSockets!

Forcing TLS 1.2 To Be Enabled, Take 2: Glide

If you use Glide or any other libraries that manage their own network calls, you should make sure that their SSLSockets are also configured to enable TLS 1.2.

In Summary

Tech @ Quizlet

Inside the team building software for millions of learners

Ankush Gupta

Written by

Tech @ Quizlet

Inside the team building software for millions of learners