SSLContext (@NotNull Url url) { SSLContext result = CertificateManager.getSystemSslContext(); TrustManager trustManager = new CertificateTrustManager(this, url); try { result.init(CertificateManager.getDefaultKeyManagers(), new TrustManager[]{trustManager}, null); } catch (KeyManagementException e) { LOG.error(e); } return result; }