How to run curl with Basic Security ( TLS / HTTPS )

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.

Hi, are you sure you start the URL in curl with "https://...." ?
if so, can you post the complete command (except the password !) and output ?

I was wrongly invoking the command, didnt had the https before the hostname ( copied the same command from history when there was no https ) . Appreciate your help!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.