./bin/elasticsearch-certutil http
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: "http.p12"
./bin/elasticsearch-keystore add xpack.security.http.ssl.keystore.secure_password
sudo /usr/share/kibana/bin/kibana-keystore create --allow-root
Файл создается в data папке /var/lib/kibana
sudo /usr/share/kibana/bin/kibana-keystore add elasticsearch.username --allow-root
sudo /usr/share/kibana/bin/kibana-keystore add elasticsearch.password --allow-root