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

Hello.

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

/etc/kibana/kibana.yml

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

vm1.local.crt
vm1.local.key

but the files are in a different location:

vm1.local.com.crt
vm1.local.com.key

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.