Skip to content
This repository

Code Snippet

try {
  SSLContext sc = SSLContext.getInstance("TLS");
  sc.init(null, MemorizingTrustManager.getInstanceList(context), new SecureRandom());
  mConnectionConfiguration.setCustomSSLContext(sc);
} catch (NoSuchAlgorithmException e) {
  throw new IllegalStateException(e);
} catch (KeyManagementException e) {
  throw new IllegalStateException(e);
}

MemorizingTrustManager

Georg's memorizing trust manager can be found @ https://github.com/ge0rg/MemorizingTrustManager

Further Readings

Something went wrong with that request. Please try again.