Change Kibana server from http to https

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 :slight_smile:
Chen

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.

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

Thanks,

@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

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

@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:

# 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!

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