diff --git a/messenger.rst b/messenger.rst index 60638f28c29..7de86a1fe18 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1675,13 +1675,41 @@ timeout Connection timeout. Float, value in ``0`` seconds default indicates unlimited sentinel_master String, if null or empty Sentinel null redis_sentinel support is disabled +ssl Map of TLS options. null + ======================= ===================================== ================================= +SSL options +----------- + +The SSL options can be used change requirements for the TLS channel: + +.. configuration-block:: + + .. code-block:: yaml + # config/packages/test/messenger.yaml + messenger: + transports: + redis: + dsn: "rediss://localhost" + options: + ssl: + allow_self_signed: true + capture_peer_cert: true + capture_peer_cert_chain: true + disable_compression: true + SNI_enabled: true + verify_peer: true + verify_peer_name: true + .. versionadded:: 7.1 The option `redis_sentinel` as an alias for `sentinel_master` was introduced in Symfony 7.1. +.. versionadded:: 6.4 + The SSL options were added in 6.4. + .. caution:: There should never be more than one ``messenger:consume`` command running with the same