I’m running Grafana 6.7.2 on Ubuntu 18.04. I’ve placed the Cert and Key files at /etc/grafana and I’ve specified these in the config file and made sure they’re not commented. However, when I try to start Grafana I get a error:
t=2020-06-06T03:09:30+0000 lvl=eror msg=“Server shutdown” logger=server reason=“cert_file cannot be empty when using HTTPS”
The config is entered as:
https certs & key file
cert_file = /etc/grafana/cert.cer
cert_key = /etc/grafana/keyfile.key
I’ve tried a few changes to give the files root:root owner and go+r permissions but it hasn’t changed the error. From trying to find solutions it seems that there is a specific error message if there’s a permission issue, which I haven’t seen yet so I’m assuming it’s not a permission issue.