Hello!

I'm trying to monitor a website with prometheus and blackbox exporter. Each 
of them are running inside a docker (images pulled from official docker hub 
https://hub.docker.com/r/prom/prometheus and 
https://hub.docker.com/r/prom/blackbox-exporter/).

My prometheus config:

[image: prometheus_config.png]

My blackbox config:
[image: blackbox_config.png]

*My issue:*

The target that I'm trying to monitor is using a self-signed certificate. 
That's why I tried to set insecure_skip_verify: true but it doesn't seem to 
handle it. I have the following error in the probe debug:

ts=2020-08-26T10:09:33.988405182Z caller=main.go:119 module=http_2xx 
target=https://example.com *level=error msg="Error for HTTP request" 
err="Get \"https://x.x.x.x\": x509: certificate signed by unknown 
authority"*


What did I miss?


Thanks.


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/772545cf-1b42-4d15-be9c-6b12dee84ffdn%40googlegroups.com.

Reply via email to