FATAL Error: EACCES: permission denied, open '/etc/kibana/certs/vm1.local.crt'


I get the following after configuring kibana.yml to use certificate:

FATAL Error: EACCES: permission denied, open '/etc/kibana/certs/vm1.local.crt'

Below are permissions:

[root@vm1 certs]# ls -l /etc/kibana/
drw-rw---- 2 root kibana   56 Jul  4 05:22 certs
-rw-r--r-- 1 root root   5300 Jul  4 05:24 kibana.yml

[root@vm1 certs]# ls -l /etc/kibana/certs/
-rw-rw---- 1 root kibana 1192 Jul  4 04:24 vm1.local.com.crt
-rw-rw---- 1 root kibana 1675 Jul  4 04:24 vm1.local.com.key


xpack.security.enabled: true
xpack.security.sessionTimeout: 600000
server.ssl.enabled: true
server.ssl.key: /etc/kibana/certs/vm1.local.com.key
server.ssl.certificate: /etc/kibana/certs/vm1.local.com.crt

I installed RPM version of Kibana. I was able to successfully implement for Elasticsearch encryption.

Can you help me what permissions/configuration I need.

Thanks in advance

Your config says


but the files are in a different location:


Is that the problem?

Thanks for your response, not really. I had corrected that in my config file. I copied the old one here.

In the meantime I copied my certs to a different directory with same permissions outside of kibana config directory and it worked. I do not know why

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