Today, I was trying to run Elasticsearch for the first time, but I've been running into some issues with the tutorial (Getting started with the Elastic Stack | Getting Started [8.1] | Elastic). When I check whether Elasticsearch is running using cURL, I keep getting an empty response from the server (curl: (52) Empty reply from server). Command looks like this:
curl --cacert $ES_PATH_CONF/certs/http_ca.crt -u elastic http://localhost:9300
I've been messing around with configurations and security settings in Elasticsearch.yaml, but nothing has really helped. I'm thinking it might be an issue with the $ES_PATH_CONF variable, but, to be honest, I'm not really sure what it needs to be changed to and need some help with this area as well as just getting a more intuitive understanding of how all of this works in general. Thank you!