ssl-utils-android icon indicating copy to clipboard operation
ssl-utils-android copied to clipboard

The one line of code to trust custom certificate on Android

Results 1 ssl-utils-android issues
Sort by recently updated
recently updated
newest added

` OkHttpClient client = new OkHttpClient(); SSLContext sslContext = SslUtils.getSslContextForCertificateFile(context, "BPClass2RootCA-sha2.cer"); client.setSslSocketFactory(sslContext.getSocketFactory()); ` Cannot resolve method 'setSslSocketFactory(javax.net.ssl.SSLSocketFactory)' Update needed! ;-)