Set authentification on elasticsearch using ansible


I would like to setup TLS and basic authentification for elasticsearch 6.8.

To deploy elasticsearch I used the official ansible playbook.
I followed also this documentation:

It seems that the TLS is correctly setup but not the authentication.
When I go to the https://elasticsearch:9200 url, an authentication popup appears.
But when I enter the login and password, the popup appears again and again.

How to troubleshoot this issue ?


Hi @smutel,
Can you provide your Ansible playbook and logs so we can investigate?