Update to 3.10 => Android 4.4 SLL Handcheck Error
See original GitHub issueHi, just to warn that i’ve got an SLL error on Android 4.4 version when i update from 3.9.1 to 3.10.
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x5c528d38:0x00000000) ---> Java.IO.IOException: SSL handshake aborted: ssl=0x59a0feb8: Failure in SSL library, usually a protocol error
I try many things like : https://github.com/square/okhttp/issues/2372 or this :
ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
.tlsVersions(TlsVersion.TLS_1_2)
.cipherSuites(
CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256)
.build();
OkHttpClient client = new OkHttpClient.Builder()
.connectionSpecs(Collections.singletonList(spec))
.build();
or this :
ProviderInstaller.installIfNeededAsync(this.getApplicationContext())
But nothing works and i’ve got unsuportedSLLEncryption or unknow
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
OkHttp SSLHandshakeException SSL handshake aborted ...
So I solved it by adding the following to my http client object ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.
Read more >SSL handshake failed on Android N/7.0, missing support for ...
Problem : Connecting to servers through SSL may fail on Android N devices. It may depend on the used cipher-suite or at least...
Read more >How to Fix SSL Connection Errors on Android Phones
Here's how to remedy an Android error that prevents SSL connections online: a step-by-step guide on how to fix SSL connection errors on...
Read more >Smack 4.10 and openfire3.10, How to make "normal" TLS ...
Hello world I have openfire 3.10 and smack 4.10 on Android. ... SSL handshake aborted: ssl=0x60a36978: Failure in SSL library, ...
Read more >OneAgent release notes version 1.243
Android 4.0.3 - 4.4 (API level 15 - 19); Android Gradle plugin 3.1 - 3.6. ... OneAgent log module is now case insensitive...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i add this :
And it works perfectly thanks 😃
Which service has your SSL certificates and cipher suites config? I don’t think this is the typical set for Cloudflare.
Did somebody remove these? TLS_RSA_WITH_AES_128_CBC_SHA TLS_RSA_WITH_AES_256_CBC_SHA They’re what Android 4.4 will negotiate on cloudflare.com.
One other workaround is to install the Google security provider in the client. That’ll give you a new TLS stack even on old Android 4.4 devices. https://developer.android.com/training/articles/security-gms-provider.html