monit-general
[Top][All Lists]
Advanced

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

[M/monit 3.7.1] https configuration issue


From: LACROIX Jean Marc
Subject: [M/monit 3.7.1] https configuration issue
Date: Tue, 11 Jul 2017 22:59:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Dear all,

I am trying to use https on M/monit, but whithout success, probably for a stupid raeson, but i dont see where ?.


My platform

address@hidden:~$ uname -a
Linux srv-mmonit-1 4.11.6-sunxi #6 SMP Fri Jun 23 19:56:18 CEST 2017 armv7l GNU/Linux
address@hidden:~$ cat /etc/debian_version
9.0
address@hidden:~$ ls -altr /usr/local/mmonit-3.7.1/
total 16
drwxr-xr-x  3 root root  1024 avril 18 14:33 doc
-rw-r--r--  1 root root  5590 avril 18 14:33 README
drwxr-xr-x  2 root root  1024 avril 18 14:33 logs
drwxr-xr-x 13 root root  1024 avril 18 14:33 docroot
drwxr-xr-x  2 root root  1024 avril 18 23:29 lib
drwxr-xr-x  4 root root  1024 avril 18 23:41 upgrade
drwxr-xr-x  2 root root  1024 avril 18 23:41 bin
drwxr-xr-x 10 root root  1024 avril 18 23:41 .
drwxrwsr-x 12 root staff 1024 juil.  9 22:19 ..
drwxr-xr-x  2 root root  1024 juil.  9 22:20 conf
drwxr-xr-x  2 root root  1024 juil.  9 22:25 db

address@hidden:~$ ip route ls
default via 192.168.8.252 dev eth-user
192.168.6.0/24 dev eth-srv proto kernel scope link src 192.168.6.200
192.168.8.0/24 dev eth-user proto kernel scope link src 192.168.8.189
192.168.9.0/24 dev eth-admin proto kernel scope link src 192.168.9.219
192.168.11.0/24 dev eth-wifi-usr proto kernel scope link src 192.168.11.237

address@hidden:~$ sudo /usr/local/mmonit-3.7.1/bin/mmonit -w /tmp/ -p /var/run start -d -i
Start parsing the server xml file
Warning: Unknown configure parameter 'scheme'
Warning: Unknown configure parameter 'certificate'
Warning: Unknown configure parameter 'scheme'
Warning: Unknown configure parameter 'certificate'
Starting Database reaper thread
Log file '/var/log/mmonit/mmonit_error.log' opened
Log file '/var/log/mmonit/mmonit_virtual_host.log' opened
Log file '/var/log/mmonit/mmonit_all.log' opened
End parsing the server xml file
Setting Host 'srv-mmonit-1-service.mydomain1.noip.org' as default Host
Start parsing the standard deployment descriptor '/usr/local/mmonit-3.7.1/conf/web.xml'
End parsing the deployment descriptor '/usr/local/mmonit-3.7.1/conf/web.xml'
Starting Scheduler
Loading cache, please wait...
Cache loaded in 2.677 s
Loading events statistics, please wait...
Events statistics loaded within 6 ms
Alert Manager: loading message queue
Alert Manager: 0 messages loaded
Engine started
Host 'srv-mmonit-1-service.mydomain1.noip.org' started
Context '' for Host 'srv-mmonit-1-service.mydomain1.noip.org' started
Loader for Context '' started
Start parsing the deployment descriptor '/usr/local/mmonit-3.7.1/docroot/WEB-INF/web.xml'
Starting Alert Manager transmit thread
End parsing the deployment descriptor '/usr/local/mmonit-3.7.1/docroot/WEB-INF/web.xml'
SessionManager for Context '' started
Context '/collector' for Host 'srv-mmonit-1-service.mydomain1.noip.org' started
Loader for Context '/collector' started
Start parsing the deployment descriptor '/usr/local/mmonit-3.7.1/docroot/collector/WEB-INF/web.xml' End parsing the deployment descriptor '/usr/local/mmonit-3.7.1/docroot/collector/WEB-INF/web.xml'
Service started
Starting IPv4 Connector with scheme 'https' at srv-mmonit-1-wifi-usr.mydomain1.noip.org:8443 with 10 processor threads Starting IPv4 Connector with scheme 'https' at srv-mmonit-1-service.mydomain1.noip.org:8443 with 10 processor threads Starting IPv4 Connector with scheme 'http' at srv-mmonit-1-service.mydomain1.noip.org:8080 with 10 processor threads
mmonit 3.7.1 started
Starting Reactor using epoll (max concurrent connections = 3996)



And on my firefox.....when i try to connect to :
https://srv-mmonit-1-service.mydomain1.noip.org:8443/



SSL Connector: No host registered to accept secure connection for 192.168.6.200. Please set the attributes; address and certificate for the <Host> in server.xml
which should process SSL requests directed at this interface


Thanks in advance for your help.

Please find in attached file my configuration


--
--------------------------------------
 -- Jean-Marc LACROIX                 --
  -- mailto : address@hidden --
    ---------------------------------------

Attachment: server.xml
Description: Text Data


reply via email to

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