# Kibana not starting up after enabling https (Single node) , seems to be missing credentials?

**URL:** https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659
**Category:** Elasticsearch
**Created:** [August 6, 2021, 3:07pm UTC](https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659 "2021-08-06T15:07:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Shreesh\_Narayanan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreesh_narayanan/32/87312_2.png) [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)
#### Post date: [August 6, 2021, 3:07pm UTC](https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659/1 "2021-08-06T15:07:06Z")

</div>

Hello,

I'm using Kibana 7.14 and had enabled https recently . All the services logstash and elasticsearch start up successfully while kibana fails . I had been looking at the kibana logs and they show this

```auto
{"type":"log","@timestamp":"2021-08-06T13:48:17+00:00","tags":["info","savedobjects-service"],"pid":13086,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2021-08-06T13:48:17+00:00","tags":["error","savedobjects-service"],"pid":13086,"message":"Unable to retrieve version information from Elasticsearch nodes. Hostname/IP does not match certificate's altnames: IP: 172.26.207.165 is not in the cert's list: "}
{"type":"log","@timestamp":"2021-08-06T14:03:50+00:00","tags":["info","plugins-system"],"pid":13086,"message":"Stopping all plugins."}
{"type":"log","@timestamp":"2021-08-06T14:03:50+00:00","tags":["info","plugins","monitoring","monitoring","kibana-monitoring"],"pid":13086,"message":"Monitoring stats collection is stopped"}
{"type":"log","@timestamp":"2021-08-06T14:04:20+00:00","tags":["warning","plugins-system"],"pid":13086,"message":"\"eventLog\" plugin didn't stop in 30sec., move on to the next."}

```

here's my kibana config :

```auto
server.port: 5601
server.host: "172.26.207.165"
server.publicBaseUrl: "https://kibana.dev.com:5601"

server.name: "kibana-dev01"

elasticsearch.hosts: ["https://172.26.207.165:9200"]

server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/certs/nexus-dev01.crt
server.ssl.key: /etc/kibana/certs/nexus-dev01.key

elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/certs/elasticsearch-ca.pem"]
elasticsearch.ssl.verificationMode: certificate
logging.dest: /app/ELK-Logs/kibana/
logging.verbose: true
path.data: /app/kibana_data

```

I tried restarting the service now after increasing the verbosity in kibana.yml

```auto
{"type":"log","@timestamp":"2021-08-06T15:03:59+00:00","tags":["debug","elasticsearch","query","data"],"pid":4832,"message":"401\nGET /_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip [security_exception]: missing authentication credentials for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]"}
{

```

Where should i mention these credentials in elasticsearch.yml or kibana.yml ? hopefully not in plain text?

---

<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: [August 6, 2021, 3:18pm UTC](https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659/2 "2021-08-06T15:18:11Z")

</div>

You will use these settings

`elasticsearch.username:`  
`elasticsearch.password:`

And secure them using the Keystore

> **[Secure settings | Kibana Guide \[7.14\] | Elastic](https://www.elastic.co/guide/en/kibana/current/secure-settings.html#add-string-to-keystore)**

They will be picked up automatically from the keystore on startup.

---

<div class="post-metadata">

### Author: ![Shreesh\_Narayanan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreesh_narayanan/32/87312_2.png) [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)
#### Post date: [August 6, 2021, 3:24pm UTC](https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659/3 "2021-08-06T15:24:33Z")

</div>

awesome 🙂 it worked.

One more question, can we still use the port 5601 after enabling https?

---

<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: [August 6, 2021, 3:34pm UTC](https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659/4 "2021-08-06T15:34:44Z")

</div>

Yup! You can change the port if you like but no need to.

---

<div class="post-metadata">

### Author: ![Shreesh\_Narayanan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreesh_narayanan/32/87312_2.png) [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)
#### Post date: [August 6, 2021, 3:48pm UTC](https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659/5 "2021-08-06T15:48:32Z")

</div>

Thanks a lot . it works splendidly 😃

---

<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 3, 2021, 3:48pm UTC](https://discuss.elastic.co/t/kibana-not-starting-up-after-enabling-https-single-node-seems-to-be-missing-credentials/280659/6 "2021-09-03T15:48:49Z")

</div>

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