monit-general
[Top][All Lists]
Advanced

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

RE: HTTPS connection to mmonit


From: Jamie Burchell
Subject: RE: HTTPS connection to mmonit
Date: Wed, 1 May 2019 13:50:06 +0100

If you already have SSH access to the server, you could also access the
web interface over SSH by using port forwarding.

This is great because the connection is encrypted (there's no need to mess
around with HTTPS or certificates), there's no need to open any additional
firewall ports and the web UI remains locked down from the public.

E.g:

ssh -L 2812:127.0.0.1:2812 your-server-ip

Then the web UI is available at 127.0.0.1:2821 in your browser.

-----Original Message-----
From: monit-general [mailto:address@hidden
On Behalf Of Jan-Henrik Haukeland
Sent: 01 May 2019 00:45
To: This is the general mailing list for monit <address@hidden>
Subject: Re: HTTPS connection to mmonit


> On 1 May 2019, at 01:14, Jan-Henrik Haukeland <address@hidden>
wrote:
>
> You must then access mmonit using https://<your-ip-address>/

PS. Which of course kind of defy using SSL (where a certificate is for a
domain/host name in DNS), but if you are using a self-signed certificate
that might not be super important and you can as well use the IP-address
directly. BTW, I forgot, as you configured M/Monit the URL needs to
include the port number also,  so the URL will be,
https://172.31.24.86:8443/ apparently your host running M/Monit has
IP-address 172.31.24.86
-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general



reply via email to

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