Mattermost can’t read my (lets encrypt) certificate file due to its default root-only permissions.
Steps to reproduce
I’ve used certbot to create a certificate on my server. Its default file/folder permissions are root:root, which seems correct enough, especially for the private key. My mattermost log file shows:
[CRIT] Error starting server, err:open /etc/letsencrypt/live/example.com/cert.pem: permission denied
- Is one expected to change the permissions of these files?
- Is one expected to copy these files somewhere mattermost can read them?
- Something else?