How to use port 443 to access Kibana. legacy-multitenancy error

Hi Shahrukh here,

I have unique problem which is has been solved.
I have successfully installed elasticsearch over HTTPS but I want to use the port 443.I have followed these steps given in the previous blog

`

`
but the problem still remains.

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

by entering the above command none of the port are can be enable for kibana.
and kibana keeps on restarting. if have to run kibana on the default port i have to run this command

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

so its runs on 5601

ps: im using centoz 7
kibana and elasticsearch version is 7.11.0

Hi @shharukh,

I also tried the commands from that post and they worked. Can you detail what error you are seeing now?

Also please confirm you ran below steps and KIBANA_HOME is set properly:

In kibana.yml, set:

server.port: 443

In terminal, run:

sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/bin/kibana
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/bin/kibana-plugin
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/bin/kibana-keystore
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/kibana/node/bin/node

Thanks,
Liza

Hey Liza,
Thanks for the response, yes I have followed it in this manner still it doesn't work.
The error log also doesn't show any waring except of the basic license waring and kibana-legacy-multitenancy-error.
note that I'm using a two node cluster over HTTPS.
On my previous one node Linux environment have followed these step .
In kibana.yml, set:

server.port: 443

In terminal, run:

sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/kibana/node/bin/node

and it worked applying the same steps in a different machine but it keeps on failing.

Sharing your Kibana logs would be helpful.

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