I installed Elasticsearch and set security for https setting.
I used ubuntu 20.04 version. Elasticsearch 8.3.2 version
--> this page, we have to make token for node.
"bin/elasticsearch-create-enrollment-token -s node"
--> Then i have error in this command.
warning: ignoring JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64; using bundled JDK
ERROR: Failed to determine the health of the cluster. Unexpected http status 
--> This is error message.
- Why we have to generate Token for node?
- Why i have this error?
- Can i use jvm11 version for elasticsearch 8.3.2 version?