To enable SSL in Kibana setup path to your certificate and key files in Kibana's configuration file.
What it looks like in kibana.yml file:
# Paths to the PEM-format SSL certificate and SSL key files, respectively. These
# files enable SSL for outgoing requests from the Kibana server to the browser.
server.ssl.cert: C:/Kibana/certs/cert.pem
server.ssl.key: C:/Kibana/certs/keypl.pem
Hi ,
Thank you for the reply.
Am using xpack certgen to create certificates and key.
should i use same certs and keys in both elasticsearch.yml and kibana.yml,or Only kibana.yml.
Note :both ELasticsearch and Kibana are on the same host
For communication that stays on same host you don't need certificate. We don't know what is your use case.
When running ES+Kibana on same host, the purpose of elasticsearch's certificate may be to secure connection from remote data shippers to ES. The purpose of the certificate in Kibana would be to present your Kibana server to public and to encipher data between client's browser and Kibana.
You can use same certificate for both of them, especially while just testing.
Thank you for the reply,that makes sense and yes you are right ,when we install more nodes and shippers we could put certificates in each instances.
As of now my ELk setup in only single node,since my kibana is communicating with google chrome as a browser to view kibana,is it recommended to have https or http?
if https enabling these two settings will it work
Paths to the PEM-format SSL certificate and SSL key files, respectively. These
files enable SSL for outgoing requests from the Kibana server to the browser.
Yes, setting up path to certificates in correct format should automatically (after restart) make Kibana use Https protocol instead of Http. It's also said in the commented lines you've copied.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.