# Kibana logging errors after SSl configuration

**URL:** https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [May 10, 2019, 11:37pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626 "2019-05-10T23:37:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)
#### Post date: [May 10, 2019, 11:37pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/1 "2019-05-10T23:37:28Z")

</div>

Hi

I have enabled SSL on kibana. I have added the pem certificate and key as suggested in the documentation page. After restart the kibana loads but I see many errors in logs.

The only different thing I did here is converted PFX file to pem and added it to kibana.yml file.

```
server.ssl.enabled: true
server.ssl.certificate: /cert/wildcard_com.pem
server.ssl.key: /cert/wildcard_com.key

{"type":"log","@timestamp":"2019-05-10T23:32:35Z","tags":["listening","info"],"pid":6732,"message":"Server running at https://0.0.0.0:5601"}
{"type":"error","@timestamp":"2019-05-10T23:32:39Z","tags":["connection","client","error"],"pid":6732,"level":"error","error":{"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n","name":"Error","stack":"Error: 140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"},"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"}
{"type":"error","@timestamp":"2019-05-10T23:32:51Z","tags":["connection","client","error"],"pid":6732,"level":"error","error":{"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n","name":"Error","stack":"Error: 140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"},"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"}
{"type":"error","@timestamp":"2019-05-10T23:33:03Z","tags":["connection","client","error"],"pid":6732,"level":"error","error":{"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n","name":"Error","stack":"Error: 140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"},"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"}
{"type":"error","@timestamp":"2019-05-10T23:33:15Z","tags":["connection","client","error"],"pid":6732,"level":"error","error":{"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n","name":"Error","stack":"Error: 140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"},"message":"140134915241856:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:242:\n"}
```

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [May 14, 2019, 4:33pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/2 "2019-05-14T16:33:48Z")

</div>

This error is from the connection to Elasticsearch. Is it possible that Elasticsearch is being served with SSL, but you're using http when defining the Elasticsearch node to connect to?

---

<div class="post-metadata">

### Author: ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)
#### Post date: [May 14, 2019, 4:35pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/3 "2019-05-14T16:35:56Z")

</div>

No, Elastic search is not using SSL. I just configured kibana on SSL.

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [May 14, 2019, 4:49pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/4 "2019-05-14T16:49:46Z")

</div>

What version of Kibana is this? Maybe I have it backwards and you're requesting Kibana over http?

---

<div class="post-metadata">

### Author: ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)
#### Post date: [May 14, 2019, 4:51pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/5 "2019-05-14T16:51:29Z")

</div>

I am using kibana and ES both as Version 7. I am accessing kibana as https.

---

<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: [May 14, 2019, 8:49pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/6 "2019-05-14T20:49:27Z")

</div>

Can you provide your Kibana configuration?  
My guess is that you've accidentally configured Kibana in a way that's enabling SSL when it connects to Elasticsearch.

---

<div class="post-metadata">

### Author: ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)
#### Post date: [May 14, 2019, 9:40pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/7 "2019-05-14T21:40:13Z")

</div>

@TimV here is my configuration. This is my complete kibana.yml configuration.

```
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://localhost:9200"]
server.ssl.enabled: true
server.ssl.certificate: /cert/wildcard_ags_com.pem
server.ssl.key: /cert/wildcard_ags_com.key
logging.quiet: true
```

---

<div class="post-metadata">

### Author: ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)
#### Post date: [May 15, 2019, 4:55pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/8 "2019-05-15T16:55:25Z")

</div>

@TimV Any idea why its throwing those errors. If you need any more details I can forward you.

---

<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 12, 2019, 4:55pm UTC](https://discuss.elastic.co/t/kibana-logging-errors-after-ssl-configuration/180626/9 "2019-06-12T16:55:28Z")

</div>

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