lab7: безопасность, mTLS, OpenBao и PKI lifecycle
Application / Go invariants and static checks (pull_request) Canceled after 0s
Application / Lab7 verified TLS and retained features (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Vladislav Kunetskiy
2026-11-10 14:39:57 +03:00
parent 20afc2c790
commit 1b6e96ccc0
570 changed files with 298308 additions and 137 deletions
+31
View File
@@ -0,0 +1,31 @@
global
log stdout format raw local0
maxconn 256
ssl-default-bind-options ssl-min-ver TLSv1.2 no-tls-tickets
defaults
mode http
log global
log-format "%ST %Tt %b"
timeout connect 3s
timeout client 10s
timeout server 10s
frontend operator_management
bind *:15671 ssl crt /run/identity/current/tls.pem ca-file /run/identity/current/ca.crt crl-file /run/identity/current/ca.crl verify required
acl operator ssl_c_s_dn(CN) -m str operator
http-request deny deny_status 403 unless operator
default_backend management_loopback
backend management_loopback
server management 127.0.0.1:15672
frontend prometheus_scrape
bind *:15693 ssl crt /run/identity/current/tls.pem ca-file /run/identity/current/ca.crt crl-file /run/identity/current/ca.crl verify required
acl monitor ssl_c_s_dn(CN) -m str prometheus operator
http-request deny deny_status 403 unless monitor
http-request deny deny_status 403 unless { method GET } { path /metrics }
default_backend metrics_loopback
backend metrics_loopback
server metrics 127.0.0.1:15692
+1
View File
@@ -0,0 +1 @@
[rabbitmq_management,rabbitmq_prometheus,rabbitmq_auth_mechanism_ssl].
+24
View File
@@ -0,0 +1,24 @@
# Native AMQP TLS, no plaintext or password-mechanism fallback.
listeners.tcp = none
listeners.ssl.default = 5671
ssl_options.cacertfile = /run/identity/current/ca.crt
ssl_options.certfile = /run/identity/current/tls.crt
ssl_options.keyfile = /run/identity/current/tls.key
ssl_options.verify = verify_peer
ssl_options.fail_if_no_peer_cert = true
ssl_options.versions.1 = tlsv1.3
ssl_options.versions.2 = tlsv1.2
auth_mechanisms.1 = EXTERNAL
ssl_cert_login_from = subject_alternative_name
ssl_cert_login_san_type = dns
ssl_cert_login_san_index = 0
definitions.import_backend = local_filesystem
definitions.local.path = /run/backend/definitions.json
# Admin/scrape transports never leave this container's shared loopback boundary.
management.tcp.ip = 127.0.0.1
management.tcp.port = 15672
prometheus.tcp.ip = 127.0.0.1
prometheus.tcp.port = 15692
prometheus.return_per_object_metrics = true