When restart the monit deamon I got the following error:
monit: Starting daemon monitor: monitThe SSL server PEM file '/xxx/xxx/server.pem' must have permissions no more than ...r-- (0644). monit: /etc/monit/monitrc:137: SSL server PEM file permissions check failed 'allow' monit: failed!
Nevertheless, the permissions where exactly 644, still I got this problem. The only solution was to set the file permissions to 700.
So please, either change the advise from 644 to 700, or change the sanity check in the code.
Kind regards, Melroy van den Berg