Best Practice for server.ssl.key Permissions in Kibana?

Hi everyone,

I'm setting up SSL for Kibana (via server.ssl.key in kibana.yml) to encrypt browser traffic. My private key file has 600 permissions, and Kibana can’t read it unless I run it as root.

However, both the docs and the program warn:
“Kibana should not be run as root. Use --allow-root to continue.”

What are the best practices in this case?

  • Should I loosen the key file's permissions?
  • Should I use --allow-root?
  • Anything else I should consider?

Thanks!

Hi @anpama

1 Like