Hello Anders Yuran, add some more lines from the monitrc file please, above/below the line. And give some information about the used monit version, use "monit -V" to get this information.
With regards, Lutz p.s. Some details for the setup are available in the wiki, see https://mmonit.com/monit/documentation/monit.html#SSL-OPTIONS
