# Unable to access Kibana with "License is not available."

**URL:** <https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [May 27, 2021, 9:48am UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175 "2021-05-27T09:48:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [May 27, 2021, 9:48am UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175/1 "2021-05-27T09:48:21Z")

</div>

Kibana, which was working fine until now, can no longer be accessed.  
The cause is that I added x-pack configuration to elasticsearch in order to introduce Workplace Search.

Using the basic license of x-pack, I want to use both elasticsearch and Workplace Search.

What settings do I need to do for this?

Specifically, I have made the following statement.

```auto
$vi /etc/elasticsearch/elasticsearch.yml
xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true
xpack:
  security:
    authc:
      realms:
        native:
          native1:
            order: 0

```

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [May 27, 2021, 1:23pm UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175/2 "2021-05-27T13:23:00Z")

</div>

This is the Elasticsearch security config, but did you configure Kibana as well? See this guide: [Configure security in Kibana | Kibana Guide [7.13] | Elastic](https://www.elastic.co/guide/en/kibana/current/using-kibana-with-security.html)

---

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [May 28, 2021, 5:58am UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175/3 "2021-05-28T05:58:19Z")

</div>

Thank you for your comment.

No, it is not. I don't currently have any settings on the Kibana side. I should.

Is there any configuration required to live with WorkplaceSearch?

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [May 28, 2021, 9:41am UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175/4 "2021-05-28T09:41:02Z")

</div>

I'm no expert on workplace search, this seems to be the relevant documentation: [User Management and Security | Workplace Search Guide [7.13] | Elastic](https://www.elastic.co/guide/en/workplace-search/current/workplace-search-security.html)

---

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [May 28, 2021, 10:34am UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175/5 "2021-05-28T10:34:58Z")

</div>

Thank you for your comment.

I have also seen that URL and set it up.  
I think this is the recommended setting, but I can't figure out what setting I am missing.

I think I messed up the tagging.  
Should I ask the question again on WorkplaceSearch?

---

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [June 3, 2021, 8:52am UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175/6 "2021-06-03T08:52:11Z")

</div>

Please refer to this article.

> [@Unable to access Kibana with “License is not available.”](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274323):
>
> I have installed WorkplaceSearch. I added the x-pack configuration to ElasticSearch by referring to the following URL. Specifically, I have made the following statement. $vi /etc/elasticsearch/elasticsearch.yml xpack.security.enabled: true xpack.security.authc.api\_key.enabled: true xpack: security: authc: realms: native: native1: order: 0 However, when I do so, I can no longer access Kibana, which has been working fine. When I access Kibana from a …

---

<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 1, 2021, 8:53am UTC](https://discuss.elastic.co/t/unable-to-access-kibana-with-license-is-not-available/274175/7 "2021-07-01T08:53:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
