I am trying to use Apache Client 4.5.5 to connect to one of my web server.
I am trying to use SSLContextBuilder but it seems its deprecated now, I don\'t want to use
Apache HttpClient 4.5.5
HttpClient httpClient = HttpClients .custom() .setSSLContext(new SSLContextBuilder().loadTrustMaterial(null, TrustAllStrategy.INSTANCE).build()) .setSSLHostnameVerifier(NoopHostnameVerifier.INSTANCE) .build();