Does Kibana support https?

Mine works fine in http mode for Kibana. Now, I would like to make the https:// work.

I can see kibana.yml has a section for SSL. Not sure if that means supporting https: if I enable them like that below. I guess it is the mean for supporting. So, I did like these:

server.ssl.enabled: true
server.ssl.certificate: /tmp/keypair_good.pem
server.ssl.key: /tmp/keypair_good.pem

After setting that above, Kibana gave error like the following when its service was started:

FATAL Error: error:0907B068:PEM routines:PEM_READ_BIO_PRIVATEKEY:bad password read

I guess it is because the certificate and key were created with password. But Kibana does not provide a mechanism for me to give the key for opening the certificate and key.

Any hints are appreciated.

Best,
Wayne

What version of Kibana are you using? In 5.3 we updated the SSL settings, which included the addition of a server.ssl.keyPassphrase setting. https://www.elastic.co/guide/en/kibana/5.6/settings.html

Right, it worked. I am using 5.6. But I did not see it in the kibana.yml coming with the package. I should have checked the online doc. I thought the file would have included everything.

Thanks!

1 Like

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