[2022-05-18T12:41:58,264][INFO ][o.e.e.NodeEnvironment ] [elastic-centos] heap size [7.7gb], compressed ordinary object pointers [true]
[2022-05-18T12:41:58,351][INFO ][o.e.n.Node ] [elastic-centos] node name [elastic-centos], node ID [ucAJuc9PS7uH5Dp-kPAj5w], cluster name [elasticsearch], roles [ingest, data_frozen, ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold]
[2022-05-18T12:42:04,901][ERROR][o.e.b.Bootstrap ] [elastic-centos] Exception
org.elasticsearch.ElasticsearchSecurityException: invalid configuration for xpack.security.transport.ssl - [xpack.security.transport.ssl.enabled] is not set, but the following settings have been configured in elasticsearch.yml : [xpack.security.transport.ssl.keystore.secure_password,xpack.security.transport.ssl.truststore.secure_password]
It's strange that this error occurs, none of these are present in the yml file.
Steps to replicate this issue: Install Elasticsearch with RPM | Elasticsearch Guide [8.2] | Elastic
- Repo creation->
elasticsearch.repo
in the/etc/yum.repos.d/
directory - rpm import -> rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
- sudo yum install --enablerepo=Elasticsearch Elasticsearch
- no change in default elasticsesrch.yml file
- sudo systemctl start Elasticsearch
content of Elasticsearch-keystore
[azureuser@elastic-centos ~]$ sudo /usr/share/elasticsearch/bin/elasticsearch-keystore list
autoconfiguration.password_hash
keystore.seed
xpack.security.http.ssl.keystore.secure_password
xpack.security.transport.ssl.keystore.secure_password
xpack.security.transport.ssl.truststore.secure_password