Hi Brian,

I can't give you all url but I have set up:
- api_url: https://hooks.slack.com/services/****

I have tested from my alertmanager container:

curl  https://hooks.slack.com/services/**** -d '{"text": "Hello, world."}'
ok

I have received the message

To check if the certificate is ok, just cancel the http auth and click on 
the padlock of the adress bar and check the tls certificate
I am behind the firewall of ovh but didn't config it to perfom mitm 
decryption

I have also create an inte plateform with traefik friday and generate new 
certificate but same problem with alertmanager

Thanks for your time

Best regards

Le lundi 9 mars 2020 11:44:28 UTC+1, Brian Candler a écrit :
>
> 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/3b59da65-49ee-4d07-9612-bb7ef450d21b%40googlegroups.com.

Reply via email to