# Shield authentication failed in ES 2.3.4

**URL:** https://discuss.elastic.co/t/shield-authentication-failed-in-es-2-3-4/56994
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [August 2, 2016, 10:48am UTC](https://discuss.elastic.co/t/shield-authentication-failed-in-es-2-3-4/56994 "2016-08-02T10:48:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![r.ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r.ganeshbabu](https://discuss.elastic.co/u/r.ganeshbabu)
#### Post date: [August 2, 2016, 10:48am UTC](https://discuss.elastic.co/t/shield-authentication-failed-in-es-2-3-4/56994/1 "2016-08-02T10:48:35Z")

</div>

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

---

<div class="post-metadata">

### Author: ![cycwll](https://avatars.discourse-cdn.com/v4/letter/c/858c86/32.png) [@cycwll](https://discuss.elastic.co/u/cycwll)
#### Post date: [August 5, 2016, 8:26am UTC](https://discuss.elastic.co/t/shield-authentication-failed-in-es-2-3-4/56994/2 "2016-08-05T08:26:37Z")

</div>

> [@r.ganeshbabu](#):
>
> password

You sure you password is “password”？

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/shield-authentication-failed-in-es-2-3-4/56994/3 "2017-07-06T13:42:27Z")

</div>


