# Setting xpack.security.enabled = true

**URL:** <https://discuss.elastic.co/t/setting-xpack-security-enabled-true/182791>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [May 26, 2019, 9:06am UTC](https://discuss.elastic.co/t/setting-xpack-security-enabled-true/182791 "2019-05-26T09:06:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Hooman\_Bahreini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hooman_bahreini/32/29500_2.png) [@Hooman\_Bahreini](https://discuss.elastic.co/u/Hooman_Bahreini)\
**Post date:** [May 26, 2019, 11:23pm UTC](https://discuss.elastic.co/t/setting-xpack-security-enabled-true/182791/7 "2019-05-26T23:23:11Z")

</div>

I am using elasticsearch 7.1

If I set `xpack.security.enabled: true` then I will get the following message:

Transport SSL must be enabled if security is enabled on a [basic] license. Please set [xpack.security.transport.ssl.enabled] to [true] or disable security by setting [xpack.security.enabled]

---

_[View the full topic](https://discuss.elastic.co/t/setting-xpack-security-enabled-true/182791)._
