# Error kibana at Installation of X-pack

**URL:** <https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911>\
**Category:** Kibana\
**Created:** [May 25, 2016, 7:10am UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911 "2016-05-25T07:10:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucas51000](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@lucas51000](https://discuss.elastic.co/u/lucas51000)\
**Post date:** [May 25, 2016, 7:10am UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/1 "2016-05-25T07:10:59Z")

</div>

Hello

I have a problem following the installation of x-pack, I sometimes have to start the Kibana service. I encounter the following error and I can not solve the problem  
"FATAL {[Error:. Xpack.security.encryptionKey is required in kibana.yml]  
cause: [Error: xpack.security.encryptionKey is required in kibana.yml.] "  
can you help me? tell me what line and what add file

thank you in advance

---

<div class="post-metadata">

**Author:** ![udaykirankona](https://avatars.discourse-cdn.com/v4/letter/u/ac91a4/32.png) [@udaykirankona](https://discuss.elastic.co/u/udaykirankona)\
**Post date:** [May 25, 2016, 7:40am UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/2 "2016-05-25T07:40:05Z")

</div>

Hi Lucas,

[https://www.elastic.co/guide/en/shield/current/kibana.html](https://www.elastic.co/guide/en/shield/current/kibana.html)

I hope this may help you.  
you need to add line called "shield.encryptionKey: "something\_secret"". go through the above link.

Thanks,  
Uday.K

---

<div class="post-metadata">

**Author:** ![lucas51000](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@lucas51000](https://discuss.elastic.co/u/lucas51000)\
**Post date:** [May 25, 2016, 7:54am UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/3 "2016-05-25T07:54:26Z")

</div>

Hi Uday,

Thank you for your reply 🙂

I added this line in the kibana.yml but his was not working and I always had the error

I'm always looking for a solution or a way to disable the security feature so that I focus on other plugin. For now, I can no longer use the service as Kibana do not want to it

---

<div class="post-metadata">

**Author:** ![krishmah](https://avatars.discourse-cdn.com/v4/letter/k/d78d45/32.png) [@krishmah](https://discuss.elastic.co/u/krishmah)\
**Post date:** [May 25, 2016, 8:04am UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/4 "2016-05-25T08:04:03Z")

</div>

xpack.security.encryptionKey: "something\_secret" You should use this in your Kibana.yml. Hope you are following this link for Kibana section

[https://www.elastic.co/guide/en/x-pack/v5.0.0-alpha2-docs/installing-xpack.html](https://www.elastic.co/guide/en/x-pack/v5.0.0-alpha2-docs/installing-xpack.html)

---

<div class="post-metadata">

**Author:** ![udaykirankona](https://avatars.discourse-cdn.com/v4/letter/u/ac91a4/32.png) [@udaykirankona](https://discuss.elastic.co/u/udaykirankona)\
**Post date:** [May 25, 2016, 8:11am UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/5 "2016-05-25T08:11:03Z")

</div>

oh, you are using x-pack. then the solution provided by Krishnan will sort out your issue.

If you dont want to use shield security,

xpack.security.enabled - Set to false to disable X-Pack Security.

in kibana.yml.

for ES you can do the same in elaticsearch.yml.

---

<div class="post-metadata">

**Author:** ![lucas51000](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@lucas51000](https://discuss.elastic.co/u/lucas51000)\
**Post date:** [May 25, 2016, 1:59pm UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/6 "2016-05-25T13:59:52Z")

</div>

I followed the procedure of elastic site to disable the X-Pack Security but I still have the same error in the log Kibana

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [May 25, 2016, 4:22pm UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/7 "2016-05-25T16:22:43Z")

</div>

If you'd like to disable security inside Kibana as well, add the following line to your kibana.yml:

```auto
xpack.security.enabled: false

```

---

<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:41pm UTC](https://discuss.elastic.co/t/error-kibana-at-installation-of-x-pack/50911/8 "2017-07-06T13:41:05Z")

</div>


