How to enable TLS 1.2 support in an Android application (running on Android 4.1 JB)

2 ways to enable TLSv1.1 and TLSv1.2:

  1. use this guideline:
    http://blog.dev-area.net/2015/08/13/android-4-1-enable-tls-1-1-and-tls-1-2/
  2. use this class
    https://github.com/erickok/transdroid/blob/master/app/src/main/java/org/transdroid/daemon/util/TlsSniSocketFactory.java
    schemeRegistry.register(new Scheme("https", new TlsSniSocketFactory(), port));

Browse More Popular Posts

Leave a Comment