ERROR: Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Data/ResourceFactory.php:49 with message: Cannot load resource config “x509”. Resource does not exist.
Now My ICINGA Installation give me error even from WEB UI:
From UI of module configuration I cannot see the “x509” DB:
Well the jobs trigger the scans of your network for certificates, the validate step figures out if the chain is valid or not and the check will tell you if the chain on host,ip,port is valid.
I guess it just ignores --hosts and you have an other error that keeps --host from working. My bet is on missing SNI entry in the module config.
What’s the host in the chain if you search for the IP in /icingaweb2/x509/usage?
SNI allows you to add host names to IP+port and multiple host names to the same IP+port.
This is needed because the webserver can serve different certificates if the browser requests a different website with a different domain or none at all (direct connection to IP+port).