Elasticsearch authentication fails when "KEYSTORE_PASSWORD" is set #76395
Labels
>bug
:Core/Infra/Core
Core issues without another label
Team:Core/Infra
Meta label for core/infra team
Elasticsearch version (
bin/elasticsearch --version
):Elasticsearch v7.14.0
Description of the problem including expected versus actual behavior:
When we try to run Elasticsearch docker image (elasticsearch:7.14.0) with both
ELASTIC_PASSWORD
andKEYSTORE_PASSWORD
envs, the attached part of docker entrypoint script doesn't work as expected.Link: https://github.com/elastic/elasticsearch/blob/7.14/distribution/docker/src/docker/bin/docker-entrypoint.sh#L67-L71
Say,
ELASTIC_PASSWORD
=password
andKEYSTORE_PASSWORD
=key
,Output of
docker-entrypoint.sh
:Seems like the script was executed as expected. But when I try to connect to the Elasticsearch:
Client-side:
Server-Side:
N.B.:
If the bellow command: here
Is replaced by
Authentication is successful. Works as expected.
Question:
- What am I missing here?
- How can I check the value of
bootstrap.password
stored in Keystore for debugging purposes?The text was updated successfully, but these errors were encountered: