# Elastic with Traefik xpack security settings?

**URL:** <https://discuss.elastic.co/t/elastic-with-traefik-xpack-security-settings/246524>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [August 26, 2020, 11:41pm UTC](https://discuss.elastic.co/t/elastic-with-traefik-xpack-security-settings/246524 "2020-08-26T23:41:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainfarmer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rainfarmer/32/71070_2.png) [@rainfarmer](https://discuss.elastic.co/u/rainfarmer)\
**Post date:** [August 26, 2020, 11:41pm UTC](https://discuss.elastic.co/t/elastic-with-traefik-xpack-security-settings/246524/1 "2020-08-26T23:41:21Z")

</div>

I've finally got Elastic cluster and Kibana working on Traefik + Let's Encrypt SSL.  
But now I need to setup passwords for Elastic and Kibana.

Before I decided to use Traefik, I was able to successfully setup passwords with the `elasticsearch-setup-passwords` tool.  
Now, I'm not able to setup passwords without enabling `xpack.security` and thus `xpack.security.transport.ssl.certificate_authorities`

Shouldn't Traefik handle all the SSL stuff now?  
How do I set passwords and let Traefik handle the SSL?

Should I try to point `xpack.security.transport.ssl.certificate_authorities` to Traefik's cert storage? or Should Elasticsearch have it's own internal self signed cert? Or is there better alternative?

---

<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:** [September 23, 2020, 11:41pm UTC](https://discuss.elastic.co/t/elastic-with-traefik-xpack-security-settings/246524/2 "2020-09-23T23:41:29Z")

</div>

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