Closed andsk8 closed 3 years ago
Figured out, you need to specify where you run the pushprox-client what the CA is, with the flag --tls.cacert=
Ending up with something like this:
/usr/local/bin/pushprox-client --proxy-url=http://fqdn:8080/ --tls.cacert=/etc/sysconfig/ca.cer
It would be very nice, that after https has been implemented with:
params:
_scheme: [https]
that we could also add sometls_config
, likeca_file
orinsecure_skip_verify: true
in order to be able to pull some metrics from a ssl target that has a private certificate. I'm getting this error:caller=main.go:85 err="failed to scrape https://fqdn:port/metrics: Get \"https://fqdn:port/metrics\": x509: certificate signed by unknown authority"
Thanks