forked from mtusi2026/mtusi2026lab7
lab7: TLS ко всем зависимостям и телеметрии; раздельные роли PostgreSQL (GRANT по коду), ACL Valkey, AMQPS, HTTPS S3, mTLS Collector/Prometheus/Loki/Tempo/Grafana
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user