Kibana - A secure connection is required for log in

Good morning,

I am trying setup NGINX to use proxy reverse to access my kibana. The first idea is redirect traffic on http://172.20.6.213:8080 to https://172.20.6.213:5601.

My nginx setup below:

I received this message:

I am using the same security files(.crt, .key and ca) that I used in kibana setup.

Am I doing something wrong ?

Regards,

Silas Muniz

I don't think this will work, your Kibana is configured to listen on HTTPS, but your Nginx is using HTTP and Kibana won't accept it.

You will need to disable HTTPS in Kibana, which is not recommended, or use a redirect directive in NGINX to redirect the traffic from 8080 to 5601, you will need to check NGINX on how to do that.

What is the reason to use NGINX in this case?

@leandrojmp

I was need access kibana on port 443 (https). I've resolved this problem set up kibana.yml with server port 443 and public url https://myip:443.
Now I access kibana just https://myip.

To resolved problem about low port, I've used these commands:

sudo setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana
sudo setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana-plugin
sudo setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana-keystore sudo setcap cap_net_bind_service=+epi /usr/share/kibana/node/bin/node

Thank you.

Silas

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.