I am no longer able to log in to elasticsearch using the builtin users. kibana.log also is showing that kibana user is not able to authenticate.
Reseting the building passwords with
bin/elasticsearch-setup-passwords auto -u "http://localhost:9200"
also doesn't work, it throws an error saying:
Exception in thread "main" java.lang.IllegalArgumentException: did not find a SSLContext