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 @@ -1675,13 +1675,36 @@ timeout Connection timeout. Float, value in ``0``
1675
1675
seconds default indicates unlimited
1676
1676
sentinel_master String, if null or empty Sentinel null
1677
1677
redis_sentinel support is disabled
1678
+ ssl Map of TLS options. null
1678
1679
======================= ===================================== =================================
1679
1680
1680
1681
.. versionadded :: 7.1
1681
1682
1682
1683
The option ``redis_sentinel `` as an alias for ``sentinel_master `` was introduced
1683
1684
in Symfony 7.1.
1684
1685
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
+
1685
1708
.. caution ::
1686
1709
1687
1710
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