[inputs.x509_cert] Using wrong server name for verification #11623
Labels
bug
unexpected problem or unintended behavior
plugin/input
1. Request for new input plugins 2. Issues/PRs that are related to input plugins
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.23.2
Docker
No response
Steps to reproduce
Run Telegraf with the above config against two servers with non-overlapping DNS entries.
Expected behavior
Certificates are reported to be valid in the metrics (
verification=valid
) as they are valid.Actual behavior
Instead of reporting the certificates valid, all certificates of the second
source
will be reported invalid similar toIt is important to note that the error message indicates that the certificate chain of
server-B.org
is checked againstserver-A.org
or more generally speaking against the first of thesources
enumerated.Additional info
No response
The text was updated successfully, but these errors were encountered: