HTTPS connection to mmonit

Mr Subs <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hi

I am trying to configure and use mmonit for the first time. Version is "M/Monit 3.7.3 (C) 2009-2018 Tildeslash Ltd" and was downloaded yesterday.

I have configured server.xml to only accept https connections, but when I try to connect from my browser, I get the following messages

2019-04-30 17:18:59 SSL Connector: No host registered to accept secure connection for 172.31.24.86.
Please set the attributes; address and certificate for the <Host> in server.xml
which should process SSL requests directed at this interface


What is strange is that 172.31.24.86 is neither the address of my server OR my client - it is completely unknown to me (and a reverse lookup just tells me it is a private address).


I have tried with both the supplied mmonit.pem and a self-generated certificate, but I get the same error.

The bits of server.xml that I changed are:

<Connector scheme="https" address="*" port="8443" processors="10" secure="true" />
..
<Engine name="mmonit" defaultHost=“my-hostname.com" fileCache="10MB">
..
<Host address=“xx.xx.xx.xx" name="my-hostname.com" appBase="." certificate="conf/mmonit.pem” >

Any ideas on what I have misconfigured?

Thanks
—
Derek


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
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.