3

I generated certs for my app using certbot/Letsencrypt. I got two pem files which I added in my kibana.yml file. When I try to access kibana through https://domainName:5601 I get timeout error, while I can access it with IP. Am I missing something?

This is my kibana.yml:

server.name: kibana
server.host: "0.0.0.0"

server.ssl.enabled: true
server.ssl.certificate: "/usr/share/kibana/config/certs/fullchain.pem"
server.ssl.key: "/usr/share/kibana/config/certs/privkey.pem"
Aline137
  • 73
  • 1
  • 7

1 Answers1

4

If you upgraded with the latest version i.e. 7.x then u need to add server.publicBaseUrl in your kibana.yml

for e.g. server.publicBaseUrl=xyz.com

so it will allow you to redirect your website.

For me it is working fine after adding this parameter inside kibana.yml

Wajid Shaikh
  • 339
  • 3
  • 5
  • The suggested setting will not be accepted by Kibana - it needs a protocol or you get `FATAL Error: [config validation of [server].publicBaseUrl]: expected URI with scheme [http|https].` – Marc May 05 '23 at 09:36