Files
mtusi2026lab7/infra/prometheus/web-config.yml
T

11 lines
535 B
YAML

# Prometheus web listener (--web.config.file), lab 7: HTTPS + mandatory client certificate of the
# internal CA + allowlist of client identities (SAN). A certificate of the same CA with another
# name (api, worker, loki, ...) is refused in the TLS handshake.
tls_server_config:
cert_file: /run/secrets/prometheus.crt
key_file: /run/secrets/prometheus.key
client_auth_type: RequireAndVerifyClientCert
client_ca_file: /run/secrets/internal-ca.crt
client_allowed_sans: [otel-collector, grafana, prometheus]
min_version: TLS12