Closed lesinigo closed 6 years ago
IcingaBeat should allow me to verify Icinga2 API SSL certificate against a specific CA (or list thereof).
I cannot specify a [list of] CA and IcingaBeat complains:
2017-08-03T14:48:41+02:00 ERR Error connecting to API: Get https://foo.bar.baz:5665/v1/status: x509: certificate signed by unknown authority
Have a config parameter to specify a CA, just like ssl.certificate_authorities in the beat output.* sections.
ssl.certificate_authorities
output.*
icingabeat: # Skip SSL verification skip_ssl_verify: true
icingabeat version 5.3.2 (amd64), libbeat 5.3.2
icinga2 - The Icinga 2 network monitoring daemon (version: r2.6.3-1)
packages.icinga.com
fixed in https://github.com/Icinga/icingabeat/commit/9011a0f8ebc1d9d5bd911964c65f976fadb300ec
Expected Behavior
IcingaBeat should allow me to verify Icinga2 API SSL certificate against a specific CA (or list thereof).
Current Behavior
I cannot specify a [list of] CA and IcingaBeat complains:
Possible Solution
Have a config parameter to specify a CA, just like
ssl.certificate_authorities
in the beatoutput.*
sections.Steps to Reproduce (for bugs)
Ugly workaround
Your Environment
icingabeat version 5.3.2 (amd64), libbeat 5.3.2
(installed from the deb file released on GitHub)icinga2 - The Icinga 2 network monitoring daemon (version: r2.6.3-1)
(installed frompackages.icinga.com
)