'Disable security on elastic and kibana

Hello i'am new with elastic search.

I followed this documentation in order to enable security, i set a password with only number and that is the main problem.

https://www.elastic.co/guide/en/elasticsearch/reference/7.12/security-minimal-setup.html

I found the problem when I wanted to login in kibana .(the image bellow).

enter image description here

Now i want to disable the security so i can work normally, or if there is some method which allow me change the password.



Solution 1:[1]

well I disabled xpack.security but the problem persist, so I go to the list of the settings in the keystore and then I removed elastic.password , so it's not required to login.

Solution 2:[2]

I think you enabled the basic security using below config in your elasticsearch.yml

xpack.security.enabled: true

If you don't want that, you can simply disable it by changing it to false and restart your Elasticsearch nodes.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Amit