ribbybibby / s3_exporter

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

certificate signed by unknown authority #7

Closed data-dude closed 4 years ago

data-dude commented 4 years ago

I'm trying to connect to an internal s3 service and I configured the s3_endpoint_url but now i'm getting the error "certificate signed by unknown authority". Has anyone been successful in running this with an internal s3 service?

data-dude commented 4 years ago

I found if you have the ca cert you can put them in the default location for ca certs and the go lang program will pick them up. https://stackoverflow.com/questions/40051213/where-is-golang-picking-up-root-cas-from

ribbybibby commented 4 years ago

Hi @data-dude. Yep, the CA needs to be in the root certs on your system.