FATAL Error: [config validation of [xpack.security].http]: definition for this key is missing

Hi,

I follow Set up basic security for the Elastic Stack plus secured HTTPS traffic | Elasticsearch Guide [7.13] | Elastic and am stuck at Set up basic security for the Elastic Stack plus secured HTTPS traffic | Elasticsearch Guide [7.13] | Elastic

The kibana.yml consists of:

server.host: "192.168.58.82"
server.name: "Elastic-Agent Demo"
elasticsearch.hosts: ["https://localhost:9200"]
elasticsearch.username: "kibana_system"
logging.verbose: true
elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/elasticsearch-ca.pem"]

After the start of kibana I see:
kibana[20546]: FATAL Error: [config validation of [xpack.security].http]: definition for this key is missing

What am I missing?

Elasticsearch is reachable under https://localhost:9200

Kibana and Elasticsearch are in version 7.13.1.

Best regards,
Robert

that is all that you have in kibana.yml file? If that's the case, have you added any settings to the kibana keystore? or used any environment variables for configs?

Hi Marius,

I executed the following kibana keystore commands:

/usr/share/kibana/bin/kibana-keystore create
/usr/share/kibana/bin/kibana-keystore add elasticsearch.password
/usr/share/kibana/bin/kibana-keystore add xpack.security.http.ssl.keystore.secure_password

Best regards,
Robert

This is the one mentioned in the error message. I've never seen it before as a setting so I don't know why you have it there for.

Hi Marius,
I made a mistake, it should read elasticsearch-keystore. Thanks for the hint.

Best regards,
Robert

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.