Am trying to work with TLS 1.2 for Android 4.4 and Lower in kotlin and after hours of search I found this class which is as they say in this article is the ultimate solution But I have no idea how to use it
Asked
Active
Viewed 244 times
0
-
1You have to install it in the first place. I've once explained the backwards-compatibility [here](https://stackoverflow.com/questions/55547248/retrofit-not-working-on-specific-versions-of-android/55667454#55667454). – Martin Zeitler Apr 04 '20 at 00:23
-
just tried your code . I still got ` SSL handshake aborted: ssl=0x66d3a6a0: I/O error during system call, Connection reset by peer ` – Wael Fadl Ãllåh Apr 04 '20 at 00:39
-
That web-server might enforce SNI (and there's nothing you can do about it on the client-side, except dropping the support for such obsolete devices); you could only provide a backwards compatible API endpoint: https://stackoverflow.com/questions/30538640/javax-net-ssl-sslexception-read-error-ssl-0x9524b800-i-o-error-during-system – Martin Zeitler Apr 04 '20 at 15:29