Skip to content

Instantly share code, notes, and snippets.

@poliveira-1
Created August 12, 2019 16:54
Set the SSL Socket Factory and the Trust Manager in the OkHttpClient builder
builder.sslSocketFactory(sslSocketFactory, (X509TrustManager) trustAllCerts[0]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment