Hi All,
We installed Elasticsearch 2.3.4 and shield latest version, when we verifying the shield user by executing the following command,
curl --user es_admin:password -XGET '10.247.0.5:9200?pretty=true'
we are getting below error,
{
"error" : {
"root_cause" : [ {
"type" : "security_exception",
"reason" : "unable to authenticate user [es_admin] for REST request [/?pretty=true]",
"header" : {
"WWW-Authenticate" : "Basic realm="shield""
}
} ],
"type" : "security_exception",
"reason" : "unable to authenticate user [es_admin] for REST request [/?pretty=true]",
"header" : {
"WWW-Authenticate" : "Basic realm="shield""
}
},
"status" : 401
}
Below is the esusers list,
[esadmin@mue2rhegrdd001 elasticsearch-2.3.4]$ bin/shield/esusers list
es_admin : admin
[esadmin@mue2rhegrdd001 elasticsearch-2.3.4]$
I couldn't able to resolve it and can some one help me to fix this issue.
Thanks,
Ganeshbabu R