17 lines
694 B
Plaintext
17 lines
694 B
Plaintext
# 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
|