Closed kimabd closed 3 years ago
sorry, have found same issue - https://github.com/ribbybibby/ssl_exporter/issues/60
@ribbybibby Since this issue seems to pop up from time to time (I found it myself today since we are attempting to monitor two host with expired certificates :grin:), would it be worth making this the default? It seems like a quite legit use case for the exporter to want to do a "best effort" to ignore broken certificates etc., and instead log this brokenness as part of the exported metrics instead of failing the probe. :thinking:
Hello, I have set up
insecure_skip_verify: true
, but anyway I don't see all metrics and in log I get error belowERRO[0002] error=Get "https://<IP_ADDRESS>:443": x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs target=<IP_ADDRESS>:443 prober=https timeout=10s source="ssl_exporter.go:93"