{"id":8893,"date":"2021-05-13T23:59:09","date_gmt":"2021-05-13T20:59:09","guid":{"rendered":"https:\/\/kifarunix.com\/?p=8893"},"modified":"2024-03-18T22:28:40","modified_gmt":"2024-03-18T19:28:40","slug":"enable-kibana-https-connection","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/enable-kibana-https-connection\/","title":{"rendered":"Quick Way to Enable Kibana HTTPS Connection"},"content":{"rendered":"\n

In this tutorial, you will learn how to enable Kibana HTTPS connection. HTTPS connections ensures that data is encrypted in transit.<\/p>\n\n\n\n

Kibana supports only TLS encryption protocol. With TLS, X.509 certificates are used to encrypt the data-in-transit. This kind of encryption is asymetric because each certificate contains a public key and a\u2009private key which are used for cryptographic operations. Kibana supports certificates and private keys in PEM or PKCS#12 format.<\/p>\n\n\n\n

Enabling Kibana HTTPS connection<\/h2>\n\n\n\n

Install ELK Stack<\/h3>\n\n\n\n

Of course, you need to be having ELK or Kibana running to enable HTTPS.<\/p>\n\n\n\n

However, if you don’t already have ELK stack, you can use the guides in the links below;<\/p>\n\n\n\n

Install ELK Stack on Ubuntu 20.04<\/a><\/p>\n\n\n\n

Installing ELK Stack on CentOS 8<\/a><\/p>\n\n\n\n

Enabling Kibana HTTPS connection<\/h3>\n\n\n\n

Once you have Kibana\/ELK installed, you can then proceed to enable Kibana with TLS\/SSL to enable you encrypt traffic between the browser and Kibana.<\/p>\n\n\n\n

Obtain TLS Certificates and Private Key<\/h4>\n\n\n\n

You can choose to obtain a commercially trusted certificates and keys from an public CA of your preference.<\/p>\n\n\n\n

Similarly, you can use self-signed certificates for your non-public facing Kibana.<\/p>\n\n\n\n

If you opt to use the self-signed certificates, then there are two options. You can either obtain the TLS certs and key using;<\/p>\n\n\n\n