I’m currently using PMM 3.1.0 (Docker) and trying to configure Alertmanager to send Slack notifications through a corporate proxy server. However, I’m facing a TLS issue due to a self-signed (or internally signed) certificate on the proxy.
Goal :
To allow PMM Alertmanager to successfully send Slack webhook notifications through a corporate HTTPS proxy (e.g., proxy.example.com:3333) which uses a custom certificate authority (CA).
What I’ve tried so far
- insecure_skip_verify: true in alertmanager.base.yml
receivers:
- name: 'slack'
slack_configs:
- api_url: 'https://hooks.slack.com/services/XXX/YYYY/ZZZ'
channel: '#alerts'
send_resolved: true
http_config:
tls_config:
insecure_skip_verify: true
→ Restarted pmm-managed with supervisorctl restart pmm-managed
→ No effect. TLS x509 error persists.
- Specifying CA certificate file via ca_file
Copied internally trusted proxy-ca-cert.crt to /srv/alertmanager/
Updated config:
http_config:
tls_config:
ca_file: /srv/alertmanager/proxy-ca-cert.crt
→ Still not applied. Alertmanager does not appear to respect this setting.
- System-wide CA trust update attempt
Placed .crt into /etc/pki/ca-trust/source/anchors/
Ran update-ca-trust extract
→ Fails with:
p11-kit: couldn’t create file … Permission denied
(possibly due to container’s limited root access)
Questions :
In PMM 3.1.0, how can we properly configure Alertmanager to:
- skip TLS verification (like, --insecure),
- trust a custom certificate (e.g., for proxy use)?
- Does alertmanager.base.yml file is working in PMM 3.x alertmanager?
Environment
PMM version: 3.1.0
Deployment: Docker (manually run container)
Outbound proxy: proxy.example.com:3333 (with internal CA)
Error message:
x509: certificate signed by unknown authority
How can I handle Slack messaging through my company proxy server?
Any guidance on how to proceed would be greatly appreciated.
Thanks in advance for your help!