# Change Kibana server from http to https

**URL:** https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678
**Category:** Kibana
**Created:** [February 2, 2017, 12:45pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678 "2017-02-02T12:45:50Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![chenbe2204](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@chenbe2204](https://discuss.elastic.co/u/chenbe2204)
#### Post date: [February 2, 2017, 12:45pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678/1 "2017-02-02T12:45:50Z")

</div>

Hi ,

My server version is:  
Distributor ID: RedHatEnterpriseServer  
Description: Red Hat Enterprise Linux Server release 6.6 (Santiago)  
Release: 6.6  
Codename: Santiago

How can I change my server from HTTP to HTTPS ? What are my options ?

Thanks 🙂  
Chen

---

<div class="post-metadata">

### Author: ![ppuschmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppuschmann/32/146751_2.png) [@ppuschmann](https://discuss.elastic.co/u/ppuschmann)
#### Post date: [February 2, 2017, 2:11pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678/2 "2017-02-02T14:11:12Z")

</div>

Perhaps put some Webserver like Nginx in Front of Kibana and use Kibana as Proxy-Backend.

Then you're completely free to define certificates, vhosts, redirect-rules & else.

---

<div class="post-metadata">

### Author: ![Rinat](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Rinat](https://discuss.elastic.co/u/Rinat)
#### Post date: [February 6, 2017, 3:10pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678/3 "2017-02-06T15:10:53Z")

</div>

Can I use x-pack in order to make access to Kibana from http to https?

Thanks,

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [February 6, 2017, 3:15pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678/4 "2017-02-06T15:15:51Z")

</div>

@chenbe2204 which version of Kibana are you using?

@Rinat x-pack isn't required for SSL support - [https://www.elastic.co/guide/en/kibana/current/production.html#enabling-ssl](https://www.elastic.co/guide/en/kibana/current/production.html#enabling-ssl)

---

<div class="post-metadata">

### Author: ![Rinat](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Rinat](https://discuss.elastic.co/u/Rinat)
#### Post date: [February 6, 2017, 3:17pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678/5 "2017-02-06T15:17:52Z")

</div>

I'm using 5.1. Well, I just installed x-pack on my elastic stack and wanted to add SSL to Kibana when accessing the web interface.

Thanks

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [February 6, 2017, 3:19pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678/6 "2017-02-06T15:19:45Z")

</div>

@Rinat that's awesome! X-Pack isn't required for Kibana to use SSL, but it does add a bunch of other stuff including security so you can limit who has access.

You should be able to set the following two settings in your kibana.yml to enable SSL:

```auto
# SSL for outgoing requests from the Kibana Server (PEM formatted)
server.ssl.key: /path/to/your/server.key
server.ssl.cert: /path/to/your/server.crt

```

then if you restart Kibana, you should be good to go!

---

<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: [March 6, 2017, 3:20pm UTC](https://discuss.elastic.co/t/change-kibana-server-from-http-to-https/73678/7 "2017-03-06T15:20:21Z")

</div>

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