RE: Re: SSL

[email protected]
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello,

have a look to the man page, the wiki is for monit 5.27.0.

The problem is, monit 5.16 use a different syntax

 

Taken from an old manual:

 

Syntax for TCP port:
SET HTTPD PORT <number> [ADDRESS <hostname | IP-address>]
[SSL <ENABLE | DISABLE>]
[PEMFILE <path>]
[CLIENTPEMFILE <path>]
[ALLOWSELFCERTIFICATION]
[SIGNATURE <ENABLE | DISABLE>]
ALLOW <user:password | IP-address | IP-range>+

 

Any reason to use the old monit 5.16.0?

Try to migrate to monit 5.19.0 at least or to the new monit 5.27.0.

 

With regards,

Lutz

 

p.s.

I append a copy of the old (monit 5.16.0) wiki page.

 

 




-----Ursprüngliche Nachricht-----
 Von: "Anders Yuran" [[email protected]]
 Gesendet: Do. 02.07.2020 10:15
 An: "This is the general mailing list for monit" [[email protected]]
 Betreff: Re: SSL






Hi!
I tested another setup from the manual, but get the same syntax error
/etc/monit/monitrc:156: syntax error '{'

 set httpd
     port 2812
     with ssl {
        pemchain: /etc/letsencrypt/live/jv74.se/chain.pem
        pemkey:   /etc/letsencrypt/live/jv74.se /privkey.pem
     }




Den tors 2 juli 2020 kl 08:45 skrev Lutz Mader <[email protected]>:
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
 



-- 



Kind Regards
Anders Yuran
Havouza 15
4607 Pissouri
Cyprus






-----Ursprüngliche Nachricht Ende-----
Monit 5.16.pdf (application/pdf, 347.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.