File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -1688,13 +1688,36 @@ timeout Connection timeout. Float, value in ``0``
1688
1688
seconds default indicates unlimited
1689
1689
sentinel_master String, if null or empty Sentinel null
1690
1690
redis_sentinel support is disabled
1691
+ ssl Map of TLS options. null
1691
1692
======================= ===================================== =================================
1692
1693
1693
1694
.. versionadded :: 7.1
1694
1695
1695
1696
The option ``redis_sentinel `` as an alias for ``sentinel_master `` was introduced
1696
1697
in Symfony 7.1.
1697
1698
1699
+ The ``ssl `` option can be used to change requirements for the TLS channel, e.g. in tests:
1700
+
1701
+ .. configuration-block ::
1702
+
1703
+ .. code-block :: yaml
1704
+
1705
+ # config/packages/test/messenger.yaml
1706
+ framework :
1707
+ messenger :
1708
+ transports :
1709
+ redis :
1710
+ dsn : " rediss://localhost"
1711
+ options :
1712
+ ssl :
1713
+ allow_self_signed : true
1714
+ capture_peer_cert : true
1715
+ capture_peer_cert_chain : true
1716
+ disable_compression : true
1717
+ SNI_enabled : true
1718
+ verify_peer : true
1719
+ verify_peer_name : true
1720
+
1698
1721
.. caution ::
1699
1722
1700
1723
There should never be more than one ``messenger:consume `` command running with the same
You can’t perform that action at this time.
0 commit comments