elastic-transport-python icon indicating copy to clipboard operation
elastic-transport-python copied to clipboard

Allow server_hostname in the Elasticsearch client

Open kendraschwartz opened this issue 5 years ago • 4 comments

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

kendraschwartz avatar Jun 29 '20 19:06 kendraschwartz

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.

dadoonet avatar Jun 29 '20 19:06 dadoonet

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).

sethmlarson avatar Jun 30 '20 16:06 sethmlarson

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

kendraschwartz avatar Jun 30 '20 17:06 kendraschwartz

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.

kendraschwartz avatar Jun 30 '20 17:06 kendraschwartz