# Trial license not basic

**URL:** https://discuss.elastic.co/t/trial-license-not-basic/204206
**Category:** Elasticsearch
**Created:** [October 18, 2019, 10:53am UTC](https://discuss.elastic.co/t/trial-license-not-basic/204206 "2019-10-18T10:53:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tpetersen](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@tpetersen](https://discuss.elastic.co/u/tpetersen)
#### Post date: [October 18, 2019, 10:53am UTC](https://discuss.elastic.co/t/trial-license-not-basic/204206/1 "2019-10-18T10:53:06Z")

</div>

Hi there,

Been setting up HTTPS security on a cluster (version 6.8.0) and I have this in my eleasticsearch.yml

xpack.license.self\_generated.type: basic

But I see this when I check the logs

> [2019-10-18T12:36:14,091][WARN][o.e.l.LicenseService] [ESTEST] License [will expire] on [Friday, November 08, 2019].  
> If you have a new license, please update it. Otherwise, please reach out to  
> your support contact.

Any one have a clue as to why? I have only added features under the basic license

My elasticsearch.yml

> cluster.name: "test-cluster"  
> node.name: "esdata-0"  
> path.logs: /var/log/elasticsearch  
> path.data: /var/lib/elasticsearch  
> discovery.zen.ping.unicast.hosts: ["esdata-0:9300","esdata-1:9300","esdata-2:9300","esdata-3:9300"]  
> discovery.zen.minimum\_master\_nodes: 3  
> node.master: true  
> node.data: true  
> network.host: [_site_, _local_]  
> node.max\_local\_storage\_nodes: 1  
> node.attr.fault\_domain: 0  
> node.attr.update\_domain: 0  
> cluster.routing.allocation.awareness.attributes: fault\_domain,update\_domain  
> xpack.license.self\_generated.type: basic  
> xpack.monitoring.collection.enabled: true  
> xpack.security.transport.ssl.enabled: true  
> xpack.security.transport.ssl.verification\_mode: certificate  
> xpack.security.transport.ssl.key: /etc/elasticsearch/Private.key  
> xpack.security.transport.ssl.certificate: /etc/elasticsearch/certificate  
> xpack.security.transport.ssl.certificate\_authorities: ["/etc/elasticsearch/ServerCA.crt"]  
> xpack.security.http.ssl.enabled: true  
> xpack.security.http.ssl.key: /etc/elasticsearch/Private.key  
> xpack.security.http.ssl.certificate: /etc/elasticsearch/certificate  
> xpack.security.http.ssl.certificate\_authorities: ["/etc/elasticsearch/ServerCA.crt"]  
> bootstrap.memory\_lock: true

Help is appriciated

Best regards  
Thomas

---

<div class="post-metadata">

### Author: ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)
#### Post date: [October 18, 2019, 6:12pm UTC](https://discuss.elastic.co/t/trial-license-not-basic/204206/2 "2019-10-18T18:12:32Z")

</div>

Is it possible that trial was activated after the inital setup? Could you check the logs for Oct 9 to see if you there is a line that looks like

```auto
[2019-10-18T20:05:43,519][INFO][o.e.l.LicenseService] [XXXX] license [XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX] mode [trial] - valid

```

In any case if you are not using any non-basic features you can [go back to basic](https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html) at any time.

---

<div class="post-metadata">

### Author: ![tpetersen](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@tpetersen](https://discuss.elastic.co/u/tpetersen)
#### Post date: [October 21, 2019, 5:06am UTC](https://discuss.elastic.co/t/trial-license-not-basic/204206/3 "2019-10-21T05:06:27Z")

</div>

Hi Igor,

Sorry but don't have the log files from the 9th ☹

But I got it to set to Basic with "POST /\_license/start\_basic?acknowledge=true" so thanks for that link, that did the trick 🙂  
Not sure why it switched to Trial, since I haven't had any thing activated that require a licence.

Best regards  
Thomas

---

<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: [November 18, 2019, 5:06am UTC](https://discuss.elastic.co/t/trial-license-not-basic/204206/4 "2019-11-18T05:06:29Z")

</div>

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