# Basic license, users, and https

**URL:** https://discuss.elastic.co/t/basic-license-users-and-https/356163
**Category:** Elasticsearch
**Created:** [March 26, 2024, 10:12am UTC](https://discuss.elastic.co/t/basic-license-users-and-https/356163 "2024-03-26T10:12:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![RainTown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raintown/32/140206_2.png) [@RainTown](https://discuss.elastic.co/u/RainTown)
#### Post date: [March 26, 2024, 10:12am UTC](https://discuss.elastic.co/t/basic-license-users-and-https/356163/1 "2024-03-26T10:12:28Z")

</div>

hi

i have a local (my personal use only) elasticsearch/kibana instance insalled and setup in Jan 2024 on my Mac.

All worked fine, until it didn't. My basic license has expired. This was expected. I did not anticpate I was using anything other than basic features, like https and authentication. I have disabled security in elasticsearch via:

xpack.security.enabled: false

but it seems this disables all "security" completely, inclduding basic stuff like https and user (e.g. the elastic user) authentication?

In the table at

> **[Subscriptions | Elastic Stack Products & Support | Elastic](https://www.elastic.co/subscriptions)**
>
> See subscription levels, pricing, and tiered features for on-prem deployments of the Elastic Stack (Elasticsearch Kibana, Beats, and Logstash), Elastic Cloud, and Elastic Cloud Enterprise....

it suggests even basdic license should support some of these functions.

I am missing or misunderstanding something somewhere - what is it?

versions is 8.11.3 for elasticsearch

Thanks  
KM

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 26, 2024, 10:20am UTC](https://discuss.elastic.co/t/basic-license-users-and-https/356163/2 "2024-03-26T10:20:29Z")

</div>

By setting this:

```auto
xpack.security.enabled: false

```

You are asking Elasticsearch to disable any security...  
Including login / password.

That's not related to any license. See [Security settings in Elasticsearch | Elasticsearch Guide [8.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html)

> If set to `false` , security features are disabled, which is not recommended. It also affects all Kibana instances that connect to this Elasticsearch instance; you do not need to disable security features in those `kibana.yml` files. For more information about disabling security features in specific Kibana instances, see [Kibana security settings](https://www.elastic.co/guide/en/kibana/8.12/security-settings-kb.html).

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [March 26, 2024, 10:27am UTC](https://discuss.elastic.co/t/basic-license-users-and-https/356163/3 "2024-03-26T10:27:20Z")

</div>

The Basic license provides support for basic security and does not expire. I suspect you have activated a trial license, which does expire. I think you can enable the Basic license [through an API call](https://www.elastic.co/guide/en/elasticsearch/reference/8.12/start-basic.html), and that should allow you to reenable security as long as you are not using any features not included in the free Basic license.

---

<div class="post-metadata">

### Author: ![RainTown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raintown/32/140206_2.png) [@RainTown](https://discuss.elastic.co/u/RainTown)
#### Post date: [March 26, 2024, 10:45am UTC](https://discuss.elastic.co/t/basic-license-users-and-https/356163/4 "2024-03-26T10:45:25Z")

</div>

thanks David and Christian for replies

% curl -sk --user ${ELKUS}:${ELKPW} -XGET [https://localhost:9200/\_cat/indices](https://localhost:9200/_cat/indices) | python3 -m json.tool  
{  
"error": {  
"root\_cause": [  
{  
"type": "security\_exception",  
"reason": "current license is non-compliant for [security]",  
"license.expired.feature": "security"  
}  
],  
"type": "security\_exception",  
"reason": "current license is non-compliant for [security]",  
**"license.expired.feature": "security"**  
},  
"status": 403  
}

is what i saw.

But the "trial" license was correct, I've now POST-ed /\_license/start\_basic and I'm good again.

---

<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: [April 23, 2024, 10:45am UTC](https://discuss.elastic.co/t/basic-license-users-and-https/356163/5 "2024-04-23T10:45:45Z")

</div>

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