docker cp es01:/usr/share/elasticsearch/config/certs/http_ca.crt .
used a cmd to generate certificate and stored that in a seperate file in my local system. Later used this cmd (mentioned in documentation)
curl --cacert http_ca.crt -u elastic https://localhost:9200 to check if i can connect to Elasticsearch cluster, but iam getting an error stating that curl: (60) schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT
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. Iam not able to proceed after this.
And one more doubt should TLS be activated for alert and action in kibana?