I decided to put monit on my vps running centos 7. I've already got let's encrypt on the server and the certs are installed. I wanted to point monit at the fullchain.pem or the cert.pem, but I get this error.
Dec 30 00:56:52 : The SSL server PEM file '/etc/letsencrypt/live/example.com/fullchain.pem' must have permissions no more than -rwx------ (0700); right now permissions are -rw-r--r-- (0644). Dec 30 00:56:52 monit: /etc/monitrc:131: SSL server PEM file permissions check failed 'allow' Dec 30 00:56:52 systemd: monit.service: main process exited, code=exited, status=1/FAILURE
Not sure how to proceed. Do I change the owner of the cert files? Do I change the owner who runs monit?