Hello,
I am brand new to ELK, i try to make a test environnement at home.
I just set up a elastic cluster, it works fine. All my three noeuds connetcts to each other.
I installed a kibana server, and i follow the guide
here
it provides 3 http.p12 files for my 3 noeuds and 1 elasticsearch-ca.pem for my kibana.
- For elastic noeuds
i upload the http.p12 files in the /etc/elasticsearch/certs/ directory on each elastic noeuds and i make sure that the system recognize the password with that command : /usr/share/elasticsearch/bin/elasticsearch-keystore add pack.security.http.ssl.keystore.secure_password
- For kibana
i upload the elasticsearch-ca.pem file in the /etc/kibana/certs/ directory , and mi kibana.yml file look like this
**server.host: "192.168.208.140" **
**elasticsearch.hosts: ["https://192.168.208.135:9200", "https://192.168.208.136:9200", "https://192.168.208.134:9200"] **
**elasticsearch.ssl.certificateAuthorities: [ "/etc/kibana/certs/elasticsearch-ca.pem" ]**
**# Enables you to specify a file where Kibana stores log output.**
**logging:**
** appenders:**
** file:**
** type: file**
** fileName: /var/log/kibana/kibana.log**
** layout:**
** type: json**
** root:**
** appenders:**
** - default**
** - file **
**pid.file: /run/kibana/kibana.pid**
I open 9200 port on all noeuds
After all this when i restart all service (kibana and elastic) on my kibana server i get this error
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-07-03T13:00:12.450-04:00","message":"Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes?filter_path=nodes..version%2Cnodes..http.publish_address%2Cnodes..ip]","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":1444},"trace":{"id":"62c3496fbe55e4efdb448ad235346e06"},"transaction":{"id":"212a1e6295a10e89"}}*
][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes?filter_path=nodes..version%2Cnodes..http.publish_address%2Cnodes..ip]*
I am stuck with that