# Elasticsearch authentication failed error

**URL:** <https://discuss.elastic.co/t/elasticsearch-authentication-failed-error/52952>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [June 16, 2016, 5:47am UTC](https://discuss.elastic.co/t/elasticsearch-authentication-failed-error/52952 "2016-06-16T05:47:12Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ajoealex](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@ajoealex](https://discuss.elastic.co/u/ajoealex)\
**Post date:** [July 21, 2016, 5:57am UTC](https://discuss.elastic.co/t/elasticsearch-authentication-failed-error/52952/7 "2016-07-21T05:57:47Z")

</div>

I followed the steps mentioned in [Kibana Shield Configuration](https://discuss.elastic.co/t/kibana-shield-configuration/45098).  
Have u created the ssl certificates? Also check roles.yml file.Even the space alignment will create problem.

# The required permissions for the kibana 4 server

kibana4\_server:  
cluster:  
- all  
indices:  
- names: '\*'  
privileges:  
- all

# The required permissions for the kibana4\_monitoring server

kibana4\_monitoring:  
cluster:  
- all  
indices:  
- names: '\*'  
privileges:  
- all

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-authentication-failed-error/52952)._
