Configuring Elasticsearch and Kibana to work with each other without requiring enrollment token

  Kiến thức lập trình

What I am trying to do is getting elasticsearch and kibana to work with each other. But even after numerous attempts I have not been able to do so.
The endpoint on Kibana’s Api keeps asking for enrollment token. I run the following code for the generation of enrollment token.

elasticsearch-create-enrollment-token -s kibana

But get the error

Unable to create an enrollment token. Elasticsearch node HTTP layer SSL configuration is not configured with a keystore, with exit code 73

I am just trying to setup elastic search with kibana so that I can get started learning these techs. I don’t need any security features. And so, I have disabled them with the environment variables. But I think I am doing something wrong as it still asks for enrollment token but doesn’t allow me create it either.
Below I have posted my .yaml file with configuration for both elasticsearch and kibana.
Can someone tell me how to do it by disabling all the security features?
Also, why am I not being able to create the enrollment token? How do I create one?
Thank you.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT