Question: user authentication for https
duongpc opened this issue · 1 comments
If I use default official elasticsearch image and enable https, it will be asking for authentication using user elastic
with default password changeme
.
For this image after enabling https I tried the same username/password and it didn't work. Is there any steps to setup the superuser account or it is not possible with this image?
Thanks
Security is disabled by default to make the image usable and user-friendly out-of-the-box.
Enabling security is most definitely possible, but setting it up is a bit fiddly, involving custom config files, at least one restart of the container, and bash
ing into the container to complete the set-up.
See https://www.elastic.co/guide/en/elasticsearch/reference/8.2/configuring-stack-security.html for details.