# Issue in setting up the production environment elasticsearch/Kibana?

**URL:** <https://discuss.elastic.co/t/issue-in-setting-up-the-production-environment-elasticsearch-kibana/235266>\
**Category:** Elasticsearch\
**Created:** [June 2, 2020, 3:36am UTC](https://discuss.elastic.co/t/issue-in-setting-up-the-production-environment-elasticsearch-kibana/235266 "2020-06-02T03:36:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [June 2, 2020, 3:36am UTC](https://discuss.elastic.co/t/issue-in-setting-up-the-production-environment-elasticsearch-kibana/235266/1 "2020-06-02T03:36:20Z")

</div>

Hi I have setup 3 node cluster in azure environment and some how I'm able to generate auto passwords using "bin/elasticsearch-setup-passwords auto".So I'm able to check cluster health using curl query in other nodes, but actual issue is coming here when I'm setting  
xpack.security.enabled: true  
xpack.security.transport.ssl.enabled: true  
Then I'm getting the below mentioned error, I need to define roles and permission in kibana.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/a/ba2cc72c8640e20bbf617ef401599442bb646337.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02eae4c9d657b38e567e158d81d2d49c266d483b.png)

Please before setting up of above configuration I'm able to login with elastic username and password.

---

<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:** [June 2, 2020, 3:55am UTC](https://discuss.elastic.co/t/issue-in-setting-up-the-production-environment-elasticsearch-kibana/235266/2 "2020-06-02T03:55:38Z")

</div>

Please don't post pictures of text, they are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [June 2, 2020, 3:59am UTC](https://discuss.elastic.co/t/issue-in-setting-up-the-production-environment-elasticsearch-kibana/235266/3 "2020-06-02T03:59:11Z")

</div>

Sure Warkolm, so when I'm trying enable these two properties in elasticsearch.yml file

> ```
> xpack.security.enabled: true
> xpack.security.transport.ssl.enabled: true
> 
> ```

I'm getting **Master\_Not\_discovered\_exception**

---

<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:** [June 30, 2020, 3:59am UTC](https://discuss.elastic.co/t/issue-in-setting-up-the-production-environment-elasticsearch-kibana/235266/4 "2020-06-30T03:59:14Z")

</div>

Closed on June 30, 2020, 3:59am UTC

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