Metricbeat module monitoring self-signed SSL endpoint

Hi,

I'm trying to monitor an SSL endpoint signed with a self-signed certificate with either the dropwizard or jolokia module of Metricbeat.

For example, a snipped of jolokia module config:
- module: jolokia
metricsets: ["jmx"]
enabled: true
period: 1s
hosts: ["https://host007.***.com:8082/manager/jmxproxy"]

How can this be accomplished?

In the debug message, both report something similar to this:

"error": {
"message": "error making http request: Post https://host007.**.com:8082/manager/jmxproxy: x509: certificate signed by unknown authority"
}

I am encountering the same issue running v6.4.0. The documentation specifies

This module supports TLS connections when using ssl config field, as described in Specify SSL settings . It also supports the options described in Standard HTTP config optionsedit.

Following those links, one can find that there is an option "ssl.verification_mode" which can be set to "none". Sady, that does not change anything.

Correction: "ssl.verification_mode: none" works. I had a typo in the config.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.