Alertmanager webhook failing with X509 error

10 views
Skip to first unread message

EnthuDeveloper

unread,
Feb 19, 2020, 1:32:21 PM2/19/20
to Prometheus Developers
Hello,
I m trying to code a webhook that can post the alerts to a web servlet running in a secured application and I see that the notifications are not sent and error is reported as
X509 certificate signed by unknown authority.

My webhook url is
https://host:port/webhook.

I suppose i need to add tls_config under the webhook ? Is that right? Can someone guide me to the exact steps and sample alertmanager yaml file with tls_config in place ?


Thanks,
Nitin

Simon Pasquier

unread,
Feb 20, 2020, 9:51:35 AM2/20/20
to EnthuDeveloper, Prometheus Developers
As stated in the documentation [1], you can define TLS settings under
the http_config key of webhook_config.

[1] https://prometheus.io/docs/alerting/configuration/#webhook_config
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/265db05a-ca47-4ad0-bdfc-529559315513%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages