@@ -0,0 +1 @@
|
||||
[rabbitmq_auth_mechanism_ssl,rabbitmq_management].
|
||||
@@ -0,0 +1,16 @@
|
||||
# Internal broker listener with mandatory client certificates (mTLS).
|
||||
# The client identity is the certificate CN (EXTERNAL auth), so a certificate
|
||||
# signed by the project CA but carrying an unknown CN cannot authenticate at
|
||||
# all. Plaintext TCP is disabled; nothing is published to the host.
|
||||
listeners.tcp = none
|
||||
listeners.ssl.default = 5671
|
||||
|
||||
ssl_options.cacertfile = /run/secrets/ca.crt
|
||||
ssl_options.certfile = /run/secrets/broker.crt
|
||||
ssl_options.keyfile = /run/secrets/broker.key
|
||||
ssl_options.verify = verify_peer
|
||||
ssl_options.fail_if_no_peer_cert = true
|
||||
|
||||
auth_mechanisms.1 = EXTERNAL
|
||||
auth_mechanisms.2 = PLAIN
|
||||
ssl_cert_login_from = common_name
|
||||
Reference in New Issue
Block a user