alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

alertmanager doesn't have the possibility to verify the SAN certificates

Open Kirskov opened this issue 4 months ago • 2 comments

Hi,

I deploy a alertmanager 0.28 alongside prometheus server in 3.3, in prometheus we have the possibility to add client_allowed_sans in --web.config.file.

But in alertmanager, we cannot do that. Could you do the same as prometheus for alertmanager ?

in the prometheus project it is this commit : 044e004a81157c681ca1c9512d1101bb05c6ff88

I just saw in the commit that it's available since github.com/prometheus/exporter-toolkit v0.10.0

in alertmanager in 0.28.0 tag we have go.mod: github.com/prometheus/exporter-toolkit v0.13.2

So I guess it is available but not documented ? https://prometheus.io/docs/alerting/latest/https/

thanks

Kirskov avatar Sep 18 '25 09:09 Kirskov

It does appear that the docs are just out of date. You should be able to provide the same config to both.

sysadmind avatar Sep 23 '25 02:09 sysadmind

Thanks @sysadmind we will try that ! Do we close the Issue or do we keep it open until the documentation is refreshed ?

Kirskov avatar Sep 23 '25 07:09 Kirskov