lab7: PKI, mTLS infra, OpenBao non-dev, hardening, lifecycle scripts

This commit is contained in:
2026-11-26 16:47:23 +03:00
parent cda6e27fb8
commit 16accda962
45 changed files with 3593 additions and 660 deletions
+30
View File
@@ -0,0 +1,30 @@
# Lab 7 RabbitMQ 4.1.8 configuration:
# - Plaintext AMQP (5672) and plaintext Prometheus (15692) disabled.
# - Mandatory AMQPS mTLS (5671) + SASL EXTERNAL bound to client cert CN.
# - TLS session resumption disabled so revoked identities fail on new connections.
# - Durable topology pre-declared in definitions.json (ZERO users in file).
listeners.tcp = none
listeners.ssl.default = 5671
ssl_options.cacertfile = /run/certs/ca.crt
ssl_options.certfile = /run/certs/server.crt
ssl_options.keyfile = /run/certs/server.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
ssl_options.reuse_sessions = false
auth_mechanisms.1 = EXTERNAL
ssl_cert_login_from = common_name
definitions.local.path = /etc/rabbitmq/definitions.json
prometheus.tcp.listener = none
prometheus.ssl.port = 15691
prometheus.ssl.cacertfile = /run/certs/ca.crt
prometheus.ssl.certfile = /run/certs/server.crt
prometheus.ssl.keyfile = /run/certs/server.key
prometheus.ssl.verify = verify_peer
prometheus.ssl.fail_if_no_peer_cert = true