Set authentification on elasticsearch using ansible

Hello,

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: https://github.com/elastic/ansible-elasticsearch/blob/master/docs/ssl-tls-setup.md.

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 ?

Thanks.

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