# Session cookies will be transmitted over insecure connections

**URL:** <https://discuss.elastic.co/t/session-cookies-will-be-transmitted-over-insecure-connections/112246>\
**Category:** Kibana\
**Created:** [December 18, 2017, 2:17pm UTC](https://discuss.elastic.co/t/session-cookies-will-be-transmitted-over-insecure-connections/112246 "2017-12-18T14:17:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![willemdh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willemdh/32/16922_2.png) [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Post date:** [December 18, 2017, 2:17pm UTC](https://discuss.elastic.co/t/session-cookies-will-be-transmitted-over-insecure-connections/112246/1 "2017-12-18T14:17:07Z")

</div>

Hello,

On my Kibana 6.1 test server I get this on kibana service restart

`Dec 18 15:10:04 srvelkodv02 kibana: {"type":"log","@timestamp":"2017-12-18T14:10:04Z","tags":["security","warning"],"pid":20636,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}`

kibana.yml:

```
server.port: 5601
server.host: "localhost"
server.name: "srvelkodv02"

xpack.security.sessionTimeout: 3600000
xpack.security.encryptionKey: "8513e214e7"
xpack.reporting.encryptionKey: "1fc9ecdac755"

```

Can I secure connections with the open source Kibana? if so, how? I'm using Nginx proxy atm.

Grtz

Willem

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [December 19, 2017, 1:28pm UTC](https://discuss.elastic.co/t/session-cookies-will-be-transmitted-over-insecure-connections/112246/2 "2017-12-19T13:28:00Z")

</div>

I think you will need to configure kibana to use SSL: [https://www.elastic.co/guide/en/kibana/current/production.html](https://www.elastic.co/guide/en/kibana/current/production.html)

---

<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:** [January 16, 2018, 1:28pm UTC](https://discuss.elastic.co/t/session-cookies-will-be-transmitted-over-insecure-connections/112246/3 "2018-01-16T13:28:15Z")

</div>

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