# Basic Auth without SSL

**URL:** <https://discuss.elastic.co/t/basic-auth-without-ssl/251323>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [October 7, 2020, 5:21pm UTC](https://discuss.elastic.co/t/basic-auth-without-ssl/251323 "2020-10-07T17:21:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaaaahaaaaa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaaaahaaaaa/32/76829_2.png) [@aaaaahaaaaa](https://discuss.elastic.co/u/aaaaahaaaaa)\
**Post date:** [October 7, 2020, 5:21pm UTC](https://discuss.elastic.co/t/basic-auth-without-ssl/251323/1 "2020-10-07T17:21:11Z")

</div>

Hi. Is it possible to enable Basic Auth on ES without SSL? I couldn't find that info.  
We're configuring SSL at the edge of our cluster and enabling SSL beyond that between services is not a requirement for us.

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [October 7, 2020, 5:25pm UTC](https://discuss.elastic.co/t/basic-auth-without-ssl/251323/2 "2020-10-07T17:25:21Z")

</div>

Not sure, those are a mandatory boostrap checks when starting your cluster  
if security is enabled then you must have SSL/TLS, except if your cluster is a single node 🙂  
check it [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks-xpack.html#bootstrap-checks-tls)

---

<div class="post-metadata">

**Author:** ![aaaaahaaaaa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaaaahaaaaa/32/76829_2.png) [@aaaaahaaaaa](https://discuss.elastic.co/u/aaaaahaaaaa)\
**Post date:** [October 7, 2020, 5:27pm UTC](https://discuss.elastic.co/t/basic-auth-without-ssl/251323/3 "2020-10-07T17:27:51Z")

</div>

I see. Thanks for the answer.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 8, 2020, 4:25am UTC](https://discuss.elastic.co/t/basic-auth-without-ssl/251323/4 "2020-10-08T04:25:23Z")

</div>

You are required to have SSL between nodes (the `transport` port that defaults to 9300).  
You can use the `elasticsearch-certutil` tool to set that up with a cluster-specific CA, with very minimal effort or impact on your cluster.

You are not required to configure SSL for the REST interface (the `http` port that defaults to 9200).

---

<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 5, 2020, 4:25am UTC](https://discuss.elastic.co/t/basic-auth-without-ssl/251323/5 "2020-11-05T04:25:24Z")

</div>

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