I have Elasticsearch cluster on my local machine with enabled HTTPs (2 nodes), all is working fine, I am trying to use the new tool elasticsearch-create-enrollment-token to enroll the third node, but I got the following error
ERROR: Failed to determine the health of the cluster
when I execute the following command
elasticsearch-create-enrollment-token -s node -v
How can I determine the root cause of this issue
BTW, I have the following settings for SSL
# This turns on SSL for the HTTP (Rest) interface
xpack.security.http.ssl.enabled: true
# This configures the keystore to use for SSL on HTTP
xpack.security.http.ssl.keystore.path: certs\http.p12
xpack.security.http.ssl.truststore.path: certs\es.p12
xpack.security.http.ssl.verification_mode: certificate
I generated the certificate using the following instructions