Unable to connect to elastic search with certificates

hi everyone ,
iam new to elasticsearch
i have Elasticsearch deployed as pod and iam trying to check the status with a curl command
i used https
curl --cacert /root/http_ca.crt -u elastic:$ELASTIC_PASSWORD protocol://ip:9200
it says
i get
curl: (60) SSL certificate problem: self signed certificate in certificate chain

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

i just took the http_ca.crt file provided in the container as said in the documentation

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