Android 7 Doesn't Allow My Letsencrypt Ssl Certificate
Im using nginx with my own SSL certificate chain but I'm getting a problem with android 7. I dont understand this solution. My nginx configuration is: server { listen 443 ssl;
Solution 1:
My solution, now its working:
ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
.tlsVersions(TlsVersion.TLS_1_2)
.cipherSuites(
CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, //aws ssl
CipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA) //letsencrypt
.build();
OkHttpClient.Builder builder = new OkHttpClient.Builder()
.connectionSpecs(Collections.singletonList(spec))
.addInterceptor(new HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY));
Parse.initialize(new Parse.Configuration.Builder(getApplicationContext())
.clientBuilder(builder)
.applicationId("")
.clientKey("")
.server("")
.build());
Post a Comment for "Android 7 Doesn't Allow My Letsencrypt Ssl Certificate"