# Xpack License uploading Error

**URL:** https://discuss.elastic.co/t/xpack-license-uploading-error/158897
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [November 30, 2018, 12:01pm UTC](https://discuss.elastic.co/t/xpack-license-uploading-error/158897 "2018-11-30T12:01:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)
#### Post date: [November 30, 2018, 12:01pm UTC](https://discuss.elastic.co/t/xpack-license-uploading-error/158897/1 "2018-11-30T12:01:25Z")

</div>

Hi All ,

When I am enabling x-pack license , showing this error.

Error encountered uploading license: Cannot install a [PLATINUM] license unless TLS is configured or security is disabled

I am enabled xpack security and TLS in all nodes . ( 5 node cluster)

Is it make any issue ?

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [December 12, 2018, 7:44am UTC](https://discuss.elastic.co/t/xpack-license-uploading-error/158897/2 "2018-12-12T07:44:48Z")

</div>

As the message says, you can't install a PLATINUM license to a cluster where security is enabled but TLS is not configured for the transport layer. Your options are as follows:

- Enable TLS for the transport layer by following our [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-tls.html)
- Disable security if you don't plan on using the features that it offers by setting `xpack.security.enabled: false` in all your nodes.

> [@rijinmp](#):
>
> I am enabled xpack security and TLS in all nodes . ( 5 node cluster)

Have you configured TLS for both the http and the transport layer? If so, can you share the relevant parts of your configuration?

---

<div class="post-metadata">

### Author: ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)
#### Post date: [December 13, 2018, 1:43am UTC](https://discuss.elastic.co/t/xpack-license-uploading-error/158897/3 "2018-12-13T01:43:12Z")

</div>

Hi ,

Actually my TLS conf had some issues . When I am solved it , license updated . Thanks

---

<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: [January 10, 2019, 1:43am UTC](https://discuss.elastic.co/t/xpack-license-uploading-error/158897/4 "2019-01-10T01:43:20Z")

</div>

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