# Unable to activate GOLD license

**URL:** https://discuss.elastic.co/t/unable-to-activate-gold-license/301524
**Category:** Elasticsearch
**Created:** [April 4, 2022, 1:45pm UTC](https://discuss.elastic.co/t/unable-to-activate-gold-license/301524 "2022-04-04T13:45:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![discuss\_lipak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@discuss\_lipak](https://discuss.elastic.co/u/discuss_lipak)
#### Post date: [April 4, 2022, 1:45pm UTC](https://discuss.elastic.co/t/unable-to-activate-gold-license/301524/1 "2022-04-04T13:45:52Z")

</div>

We are having Elasticsearch GOLD license for our org and we are trying to install the license with security disabled. But we are getting error  
"Cannot install a [GOLD] license unless TLS is configured or security is disabled"

We are having security disabled in our Elasticsearch.yml file  
xpac.security.enabled: false

we are using the curl api to upload the license.  
Version: 7.16.3

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [April 4, 2022, 2:37pm UTC](https://discuss.elastic.co/t/unable-to-activate-gold-license/301524/2 "2022-04-04T14:37:43Z")

</div>

Since you have a commercial Gold license you should open a support ticket.

You have a typo missing the `k`

`xpac.security.enabled: false`

Should be

`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: [May 2, 2022, 2:38pm UTC](https://discuss.elastic.co/t/unable-to-activate-gold-license/301524/3 "2022-05-02T14:38:32Z")

</div>

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