check if you have the proper CAs mounted in the docker image of alertmanager. /etc/ssl/certs or the equivalent in your distro - if not, then there is no source of truth for trusted CAs
On Mon, Mar 9, 2020 at 11:44 AM Brian Candler <[email protected]> wrote: > On Monday, 9 March 2020 09:12:41 UTC, BDT wrote: >> >> level=debug ts=2020-03-09T08:46:12.143Z caller=notify.go:667 >> component=dispatcher msg="Notify attempt failed" attempt=1 >> integration=slack receiver=slack_general err="Post <redacted>: x509: >> certificate signed by unknown authority" >> >> >> > The bit you've redacted - at least, the hostname in the URL - is the > important part. The error seems to be saying the *remote* server's > certificate is bad, but not knowing the hostname you're connecting to, we > can't check that. > > Is it showing the same URL as the slack "api_url: *****" in your config? > > Can you post to it using curl -v? That would prove whether the > certificate is OK or not. > > Are you behind some sort of nasty corporate firewall which breaks TLS by > performing man-in-the-middle decryption? > > >> My certificate is valid and I have checked for revocation, it's ok. >> >> You can go to https://alertmanager.cloud.patrowl.io and check. Just >> cancel the http auth >> >> >> > Canceling the http auth just gives 401 forbidden. > > -- > 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/f2c1e343-8014-4b9e-8bdc-6da67a6a1b61%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/f2c1e343-8014-4b9e-8bdc-6da67a6a1b61%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kuba Jakubik SRE Tech Lead Netguru - Building software for world changers [email protected] netguru.com [image: facebook] <https://www.facebook.com/netguru> [image: twitter] <https://twitter.com/netguru> [image: linkedin] <https://www.linkedin.com/company/netguru/> -- 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/CAD5xb_GFd7iZhu5TsnZSu-LahpWk%3DmEQDinXE16sk_31caXWmw%40mail.gmail.com.

