401 Error : missing authentication credentials : elasticsearch version 7.6.2

I have followed the below wiki to enable the basic authentication Elastic verion 7.6

I am not sure how to configure default the username and password so
But I am getting the error ,
curl -s --cacert config/certs/ca/ca.crt http://elasticsearch:9200
{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticat

elasticsearch version 7.6 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

Are you using 7.6 or 8.6?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.