Shield authentication failed in ES 2.3.4

security

(ganeshbabu) #1

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


(ChaiYingchao) #2

You sure you password is “password”?


(system) #3