Skip to content

Need a way to turn on TLS hostname verification #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fpan-splunk opened this issue Mar 1, 2021 · 2 comments
Closed

Need a way to turn on TLS hostname verification #156

fpan-splunk opened this issue Mar 1, 2021 · 2 comments
Labels

Comments

@fpan-splunk
Copy link

It seems we hardcode it to always pass the hostname verification.
We need a way to be able to specify a hostname verifier so that the customer can turn on the hostname verification if they want

private static final HostnameVerifier HOSTNAME_VERIFIER = new HostnameVerifier() {

@fantavlik
Copy link
Contributor

Hello! This is currently being addressed in #158 - which we will release within the next two weeks

@ashah-splunk
Copy link
Contributor

Hi @fpan-splunk
We have updated the HTTPService class for hostname verification and TLS which is available in the latest version of sdk 1.7.1 .
SDK build has been migrated to Maven from ant. And we would recommend use of JDK v1.8 with the latest sdk version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants