// The SSLFactory below is just an example, use your own custom initialized one here SSLFactory sslFactory = SSLFactory.builder() .withDefaultTrustMaterial() .withSystemTrustMaterial() .build(); Provider provider = ProviderUtils.create(sslFactory); Security.insertProviderAt(provider, 1); SSL...
// The SSLFactory below is just an example, use your own custom initialized one here SSLFactory sslFactory = SSLFactory.builder() .withDefaultTrustMaterial() .withSystemTrustMaterial() .build(); Provider provider = ProviderUtils.create(sslFactory); Security.insertProviderAt(provider, 1); SSL...