Skip to content

Instantly share code, notes, and snippets.

@gdiazs
Last active March 10, 2017 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdiazs/578fbb34453da8b91f62fe97f213455c to your computer and use it in GitHub Desktop.
Save gdiazs/578fbb34453da8b91f62fe97f213455c to your computer and use it in GitHub Desktop.
No SSL Verification for apache http client
HttpClient client = HttpClientBuilder.create().setSSLHostnameVerifier(new NoopHostnameVerifier()).build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment