Skip to content
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

Allow server_hostname in the Elasticsearch client #44

Open
kendraschwartz opened this issue Jun 29, 2020 · 4 comments
Open

Allow server_hostname in the Elasticsearch client #44

kendraschwartz opened this issue Jun 29, 2020 · 4 comments

Comments

@kendraschwartz
Copy link

Please allow the Elasticsearch client to specify server_hostname. I want to use ip addresses and still have ssl verification work.

@dadoonet
Copy link
Member

You opened the question at https://discuss.elastic.co/t/ask-for-advice-on-elastic-search-client/239178 which is the right place to ask before opening an issue here.

@henningandersen henningandersen transferred this issue from elastic/elasticsearch Jun 30, 2020
@sethmlarson
Copy link
Contributor

Would like to know more about why you explicitly need SNI to be sent when connecting to a service via IP (over explicitly specifying the host you're verifying against for example).

@kendraschwartz
Copy link
Author

I don't need SNI over verifying the host. I'm not familiar the Elasticsearch client. The request probably doesn't make sense.

@kendraschwartz
Copy link
Author

I don't know what you mean by verifying the host. I can't use hostname verification because the certificate does not match the ip address.

@sethmlarson sethmlarson transferred this issue from elastic/elasticsearch-py Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants