Re: HTTPS connection to mmonit

Paul Theodoropoulos <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
On 5/2/19 06:14, Jan-Henrik Haukeland wrote:
>> On 1 May 2019, at 18:06, Mr Subs <[email protected]> wrote:
>>
>> I changed server.xml, so the Host address=“172.31.24.86” (which is the private IP address, even though I am connecting to it via it’s public IP address. The domain name is correct, and is public DNS.
> You cannot use the private address 172.31.24.86 as the Host address if you use a hostname. The IP address must be the same public IP-address associated with your hostname in DNS.  I.e. in this setup
>
> <Host address=“xx.xx.xx.xx" name=“hostname" appBase="." certificate="conf/mmonit.pem” >
>
> “hostname" must have the public address “xx.xx.xx.xx" in DNS.
>
>
That's doesn't seem to be the case. My current configuration:

<Host name="mmonit.autonetmobile.net" appBase="." 
address="10.99.170.158" 
certificate="/etc/letsencrypt/live/mmonit.autonetmobile.net/merged.pem">

Works fine. The host name is mapped to the public IP address of the 
server. I'm using current latest version of mmonit.

-- 
Paul Theodoropoulos
www.anastrophe.com

-- 
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.