feat: реализовать ЛР7 — TLS, mTLS, OpenBao и hardening

This commit is contained in:
ferraronp
2026-11-26 19:50:38 +03:00
parent 20afc2c790
commit ca7515601a
98 changed files with 6252 additions and 107 deletions
+15
View File
@@ -0,0 +1,15 @@
global
log stdout format raw local0
defaults
mode http
timeout connect 3s
timeout client 15s
timeout server 15s
frontend tls_ingest
bind :4318 ssl crt /run/pki/otel-gw.pem ca-file /run/pki/ca.crt crl-file /run/pki/ca.crl verify required ssl-min-ver TLSv1.2
acl identity_ok ssl_c_s_dn(cn) -m str messenger-api1 messenger-api2 messenger-worker messenger-dispatcher
acl san_ok ssl_c_san -m reg (^|,)([[:space:]]*)DNS:messenger-(api1|api2|worker|dispatcher)($|,)
http-request deny deny_status 403 unless identity_ok san_ok
default_backend otlp_http
backend otlp_http
server collector otel-collector:4318 check