[M/monit 3.7.1] https configuration issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[M/monit 3.7.1] https configuration issue

LACROIX Jean Marc
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

ansible@srv-mmonit-1:~$ uname -a
Linux srv-mmonit-1 4.11.6-sunxi #6 SMP Fri Jun 23 19:56:18 CEST 2017
armv7l GNU/Linux
ansible@srv-mmonit-1:~$ cat /etc/debian_version
9.0
ansible@srv-mmonit-1:~$ 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

ansible@srv-mmonit-1:~$ 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

ansible@srv-mmonit-1:~$ 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 : [hidden email] --
     ---------------------------------------

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

server.xml (19K) Download Attachment