ribbybibby / s3_exporter

Exports Prometheus metrics about S3 buckets and objects
Apache License 2.0
105 stars 42 forks source link

Impossible to disable certificate checks #42

Open k0ste opened 2 years ago

k0ste commented 2 years ago

Currently, when certificate is valid, but for another domain - using exporter is impossible

Sep 29 18:24:43 host.example.com s3_exporter[59303]: time="2022-09-29T18:24:43+07:00" level=error msg="RequestError: send request failed\ncaused by: Get \"https://192.168.100.98:443/\": x509: cannot validate certificate for 192.168.100.98 because it doesn't contain any IP SANs" source="s3_exporter.go:177"
k0ste commented 2 years ago

Will be resolved via #40