# TSL/SSL basic license for ES Versions 7+

**URL:** <https://discuss.elastic.co/t/tsl-ssl-basic-license-for-es-versions-7/262445>\
**Category:** Elastic Security\
**Tags:** elastic-stack-security\
**Created:** [January 28, 2021, 4:05am UTC](https://discuss.elastic.co/t/tsl-ssl-basic-license-for-es-versions-7/262445 "2021-01-28T04:05:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pemfir](https://avatars.discourse-cdn.com/v4/letter/p/ecd19e/32.png) [@pemfir](https://discuss.elastic.co/u/pemfir)\
**Post date:** [January 28, 2021, 4:05am UTC](https://discuss.elastic.co/t/tsl-ssl-basic-license-for-es-versions-7/262445/1 "2021-01-28T04:05:51Z")

</div>

i tried to setup user-name and password for my single node ElasticSearch-kibana clusters using the instructions below, but it seems this is not possible without first setting up TSL/SSL, which will enable communication with encryption that requires certification between elasticSearch and Kibana nodes. I was wondering if i can do TSL/SSL with free basic license

[earlier post](https://discuss.elastic.co/t/do-i-need-a-paid-license-to-configure-user-name-password/262316) instruction that did not work:

1. In elasticsearch.yml  
xpack.security.enabled: true
2. Generating passwords via command line  
./elasticsearch-setup-passwords auto
3. Adding the kibana username and pass in kibana.yml  
elasticsearch.username: “kibana”  
elasticsearch.password: “generated in the previous step”
4. Starting ES and Kibana  
Login to kibana with “elastic” username and password
5. Adding a new user/role via kibana dashboard

---

<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:** [January 28, 2021, 4:59am UTC](https://discuss.elastic.co/t/tsl-ssl-basic-license-for-es-versions-7/262445/2 "2021-01-28T04:59:38Z")

</div>

hi @pemfir  
Yes SSL / TLS is a basic feature.  
Yes you need to enable SSL / TLS for Basic Authentication they go together.  
Please try to refrain from reposting the same question, you should have just responded to the same thread.

Take a look at [this blog](https://www.elastic.co/blog/getting-started-with-elasticsearch-security)

I also wrote a pretty [detailed walk through](https://github.com/bvader/howtos/tree/master/basic-security-elasticsearch)

@warkolm perhaps close one or the other.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 28, 2021, 11:00pm UTC](https://discuss.elastic.co/t/tsl-ssl-basic-license-for-es-versions-7/262445/3 "2021-01-28T23:00:59Z")

</div>


