Skip to content

Commit a4e52d2

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: [Messenger] Document SSL options for Redis
2 parents 03de678 + 75e5c99 commit a4e52d2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

messenger.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,13 +1675,36 @@ timeout Connection timeout. Float, value in ``0``
16751675
seconds default indicates unlimited
16761676
sentinel_master String, if null or empty Sentinel null
16771677
redis_sentinel support is disabled
1678+
ssl Map of TLS options. null
16781679
======================= ===================================== =================================
16791680

16801681
.. versionadded:: 7.1
16811682

16821683
The option ``redis_sentinel`` as an alias for ``sentinel_master`` was introduced
16831684
in Symfony 7.1.
16841685

1686+
The ``ssl`` option can be used to change requirements for the TLS channel, e.g. in tests:
1687+
1688+
.. configuration-block::
1689+
1690+
.. code-block:: yaml
1691+
1692+
# config/packages/test/messenger.yaml
1693+
framework:
1694+
messenger:
1695+
transports:
1696+
redis:
1697+
dsn: "rediss://localhost"
1698+
options:
1699+
ssl:
1700+
allow_self_signed: true
1701+
capture_peer_cert: true
1702+
capture_peer_cert_chain: true
1703+
disable_compression: true
1704+
SNI_enabled: true
1705+
verify_peer: true
1706+
verify_peer_name: true
1707+
16851708
.. caution::
16861709

16871710
There should never be more than one ``messenger:consume`` command running with the same

0 commit comments

Comments
 (0)