… yet the workaround: you can use HTTPS proxy, so for example monit GUI can be
still running HTTP and if you'll need SSL, you'll access it via the HTTPS proxy.
For example the configuration for Apache:
<VirtualHost _default_:443>
SSLEngine on
ProxyPass /monit/ http://1.2.3.4:2812/
ProxyPassReverse /monit/ http://1.2.3.4:2812/
<Location /monit/>
Order deny,allow
Allow from all
</Location>
…
You can then access it via https://<proxy>/monit/
On Dec 22, 2011, at 11:22 AM, Martin Pala wrote:
> Hi Nick,
>
> monit does either http or https, not both at once. The "ssl enable" switches
> the HTTP interface into HTTPS.
>
> Regards,
> Martin
>
>
> On Dec 22, 2011, at 11:20 AM, Nick Upson wrote:
>
>> Hi,
>>
>> I want to run monit with https and http available at the same time, the
>> manual seems to imply that this can be done by saying "can also start ...
>> with ssl support"
>> but when I add this line to the config, http stops working.
>>
>> a) can anyone confirm this is the case
>>
>> b) is there a way round it
>>
>> If you have compiled Monit with openssl, you can also start the httpd server
>> with ssl support, using the following expression:
>>
>> set httpd port 2812
>> ssl enable
>> pemfile /etc/certs/monit.pem
>>
>> Nick Upson
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general