The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/devenv/docker/blocks/caddy_tls
Tito Lins 71d04a326b
Alerting: Support tls config for webhook receiver (#93513)
7 months ago
..
build Alerting: Support tls config for webhook receiver (#93513) 7 months ago
README.md Alerting: Support tls config for webhook receiver (#93513) 7 months ago
docker-compose.yaml Alerting: Support tls config for webhook receiver (#93513) 7 months ago

README.md

TLS Caddy Server

Starts a Caddy server with TLS configured.

Setup

  • Caddy is setup to run on port 2081, so when configuring the webhook receiver in Grafana Alerting you should use the following the following URL: https://localhost:2081
  • Also, Caddy is configured to use a self-signed certificate and to check the client certificate (require_and_verify mode)
  • Caddy is setup to log requests and has debug mode enabled to make it easier to investigate possible issues

TLS Certificates

If you want to configure a webhook contact point in Grafana Alerting with TLS, you need to provide a certificate and key.

You can find them in /etc/caddy directory in the container:

docker exec devenv-caddy_tls-1 ls /etc/caddy/

CA Certificate

docker exec devenv-caddy_tls-1 cat /etc/caddy/ca.pem

Client certificates

docker exec devenv-caddy_tls-1 cat /etc/caddy/client.pem
docker exec devenv-caddy_tls-1 cat /etc/caddy/client.key