We started a new Elasticsearch instance of 8.4.3 and the ES is up and running but when i am trying to send an HTTP request to the server I get a reply of curl: (52) Empty reply from server but when I pass the certificates like curl --cacert /etc/elasticsearch/certs/http_ca.crt --user elastic:dummy -X GET "https://10.0.0.90:9200/_cat/nodes?pretty" I am able to get the response.
Have you tried curl -k --user elastic:dummy -X GET "https://10.0.0.90:9200/_cat/nodes?pretty"? As the cluster is secured you will need to use HTTPS, and plain HTTP requests will not work.
I was able to get a response on HTTP via ES head on ES7.6 even though xpack is enabled.
Is there any workaround for 8.4.3 as well such that i can access ES via HTTP even when xpack is enabled?
Any Help is much appreciated.
I am able to get a response with curl -k --user elastic:dummy -X GET "https://10.0.0.90:9200/_cat/nodes?pretty"
All official language clients support HTTPS. Have a look at the official documentation for examples.
Browsers support HTTPS so I am not sure why this would be a problem. If you are using self-signed certificates you however may need to allow this from the browser.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.