private static CloseableHttpClient createHttpsClient() {
CloseableHttpClient chc = null;
try {
final SSLContextBuilder builder = new SSLContextBuilder();
builder.loadTrustMaterial(null, new TrustSelfSignedStrategy());
chc = HttpClients.custom().setSSLSocketFactory(
new SSLConnectionSocketFactory(builder.build(),
SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER)).build();
} catch (KeyManagementException ex) {
} catch (NoSuchAlgorithmException ex) {