# 401 - Sign in error after encryption setup

**URL:** <https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [October 31, 2019, 5:39am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976 "2019-10-31T05:39:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nay\_Myo\_Zaw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nay_myo_zaw/32/46539_2.png) [@Nay\_Myo\_Zaw](https://discuss.elastic.co/u/Nay_Myo_Zaw)\
**Post date:** [October 31, 2019, 5:39am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976/1 "2019-10-31T05:39:12Z")

</div>

I'm getting Sing In issue after encryption setup for Clusters. I have no idea how to remove password or how to set password.

Elastic Version : 7.4

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [October 31, 2019, 6:08am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976/2 "2019-10-31T06:08:04Z")

</div>

Hi,

It is generally much more probable to get someone to try and assist you when you take the time to

- Share the exact details of your configuration, with snippets from elasticsearch.yml where applicable
- Share the exact behavior you observe. How are you making a request exactly and what happens ? Why do you think this is an error and what did you expect to be happening instead ?
- Share the exact error messages you get from Kibana or Elasticsearch by sharing the logs or the UI message exactly , and not an approximation of the message or your interpretation of it.

---

<div class="post-metadata">

**Author:** ![Nay\_Myo\_Zaw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nay_myo_zaw/32/46539_2.png) [@Nay\_Myo\_Zaw](https://discuss.elastic.co/u/Nay_Myo_Zaw)\
**Post date:** [October 31, 2019, 6:12am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976/3 "2019-10-31T06:12:21Z")

</div>

> # Cluster Name
> 
> cluster.name: TEST\_CLUSTER
> 
> #Node Name  
> node.name: ${HOSTNAME}
> 
> #defining node as master-eligible  
> node.master: true
> 
> #define nodes 2 and 3 as data nodes  
> node.data: true
> 
> # data & logs
> 
> path.data: /opt/elasticsearch/data  
> path.logs: /opt/elasticsearch/logs
> 
> # Network IP and Port
> 
> network.host: 10.11.124.32  
> http.port: 9200
> 
> cluster.initial\_master\_nodes: ["10.11.124.32","10.11.124.33"]
> 
> #Nodes IP  
> discovery.zen.ping.unicast.hosts: ["10.11.124.32","10.11.124.33","10.11.124.34"]  
> discovery.zen.minimum\_master\_nodes: 2
> 
> action.search.shard\_count.limit: 2000
> 
> #Elastic Security Setting  
> xpack.security.enabled: true  
> xpack.security.transport.ssl.enabled: true  
> xpack.security.transport.ssl.verification\_mode: certificate  
> xpack.security.transport.ssl.keystore.path: certs/elkstack-cert.p12  
> xpack.security.transport.ssl.truststore.path: certs/elkstack-cert.p12

i got sign in popup when I browse [http://10.11.124.34:9200/](http://10.11.124.34:9200/) in browser.  
I don't know default password and when I try to reset password with **bin/elasticsearch-setup-passwords interactive** I got error in APM. We don't use APM.

Thanks

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [October 31, 2019, 7:59am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976/4 "2019-10-31T07:59:02Z")

</div>

> [@Nay\_Myo\_Zaw](#):
>
> I don't know default password and when I try to reset password with **bin/elasticsearch-setup-passwords interactive** I got error in APM. We don't use APM.

Please:

> [@ikakavas](#):
>
> - Share the exact error messages you get from Kibana or Elasticsearch by sharing the logs or the UI message exactly , and not an approximation of the message or your interpretation of it.

---

<div class="post-metadata">

**Author:** ![Nay\_Myo\_Zaw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nay_myo_zaw/32/46539_2.png) [@Nay\_Myo\_Zaw](https://discuss.elastic.co/u/Nay_Myo_Zaw)\
**Post date:** [October 31, 2019, 9:49am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976/5 "2019-10-31T09:49:55Z")

</div>

This issue was passed. I was generated password in non master nodes. And another issue is coming. I got 403 forbidden error when I log in in Kibana. I already set elastic password in kibana.yml

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [October 31, 2019, 10:16am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976/6 "2019-10-31T10:16:38Z")

</div>

I'll have to repeat myself unfortunately

> [@ikakavas](#):
>
> - Share the exact details of your configuration, with snippets from elasticsearch.yml where applicable
> - Share the exact behavior you observe. How are you making a request exactly and what happens ? Why do you think this is an error and what did you expect to be happening instead ?

---

<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 28, 2019, 10:30am UTC](https://discuss.elastic.co/t/401-sign-in-error-after-encryption-setup/205976/7 "2019-11-28T10:30:40Z")

</div>

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