I have created a three nodes elastic cluster, with two being master nodes.
I have created CS, CERT and http.p12 files manually, all placed in their respective machines and when I run elastic, everything boots successfully and the members find each other and join cluster without any error.
But when I attempt to create an enrollment for kibana using the following command:
ERROR: Unable to create an enrollment token. Elasticsearch node HTTP layer SSL configuration Keystore doesn't contain any PrivateKey entries where the associated certificate is a CA certificate```
Cannot understand why. The password are correctly set in keystore and nodes do not show any error.
The enrollment process is unfortunately designed to work only with the TLS configuration that happens automatically on startup and not with custom user configurations.
You can still use the UI configuration in Kibana without the enrollment token, just click on the “Configure manually” button on that screen. Hope this helps !
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.