I have configured elasticsearch 7.17 to use TLS and HTTPS and trying to run curl commands to get index stats.
The response i get is curl: (52) Empty reply from server. I am debugging an issue wherein post TLS implementation we are not getting data in Checkmk for elastic shard monitoring.
How can i run curl on TLS enabled nodes, i have tried the "-k" flag with curl however had little success.