monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPS connection to mmonit


From: Paul Theodoropoulos
Subject: Re: HTTPS connection to mmonit
Date: Thu, 2 May 2019 10:54:53 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 5/2/19 06:14, Jan-Henrik Haukeland wrote:

      
On 1 May 2019, at 18:06, Mr Subs <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]