Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't access kibana with domain

Tags:

kibana

elk

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"
like image 453
Aline137 Avatar asked Oct 18 '25 02:10

Aline137


1 Answers

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

like image 62
Wajid Shaikh Avatar answered Oct 21 '25 03:10

Wajid Shaikh