SLACK notification x509: certificate signed by unknown authority

1,188 views
Skip to first unread message

vincent....@gmail.com

unread,
Jul 4, 2018, 1:06:19 AM7/4/18
to Prometheus Users
Hi

I'm getting a 509 when using slack notifications.


I can send messages to SLACK using the same API call from Curl, postman, etc. I can also do it using WGET on the container of Alert Manager itself, no problem.
It seems that in some instances my corporate network requires to install our company CA for SSL services.

How can I:
- tell Slack notifier to ignore the 509 error?
- or install my company CA certs inside the Docker container of Alert manager?
- anything else I'm missing?

Simon Pasquier

unread,
Jul 4, 2018, 4:30:33 AM7/4/18
to vincent....@gmail.com, Prometheus Users
You need the latest version of AlertManager (v0.15.0) to be able to tweak the TLS configuration of the receiver.
See the http_config section [1] in the Slack configuration. That being said, it is strange that it fails to verify the identity of https://hooks.slack.com/. Do you use a proxy to connect to the internet?


--
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 prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6377b803-8cfe-4b64-a470-db8b90fa91a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages