bin/elasticsearch-certutil cert --silent --pem --in kibanacert.yml --out kibana-server.zip
copy the zip file to kibana installation directory
The two certificates need to be installed as follows:
kibana-server.p12 -- this is the client certificate
In the Chrome Settings --> Advanced --> Manage certificate --> import --> Next --> Browser to the path of Certificate and select it --> Next --> leave the password blank --> Go with the default actions for location select next --> Finish.
ca.crt -- This we need to add in the Trusted Root Certificate, to tell the browser that the certificate (mentioned in point no.1 ) is signed by a Trusted Source.
In the Chrome Settings --> Advanced --> Manage certificate --> select the "Trusted Root Certification Authorities" tab --> Import --> next --> Browser to the path of Certificate and select it --> Go with the default actions for location select next --> Finish.
in short: Due to clients(Web Browsers) not trusting self-signed Kibana certificates, you will see a message similar to the following in your Kibana logs, until proper trust is established by using certificates generated by an enterprise or public CA (here's the link to the issue in the Kibana repo). This issue does not affect your ability to work in Kibana:
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.