Skip to content

[Messenger] Document SSL options for Redis #20094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1690,10 +1690,36 @@
timeout Connection timeout. Float, value in ``0``
seconds default indicates unlimited
sentinel_master String, if null or empty Sentinel null
support is disabled
redis_sentinel support is disabled
ssl Map of TLS options. null
======================= ===================================== =================================

.. versionadded:: 6.1
SSL options
-----------

The SSL options can be used change requirements for the TLS channel:

.. configuration-block::

.. code-block:: yaml

# config/packages/test/messenger.yaml
framework:
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

Check failure on line 1722 in messenger.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

You are not allowed to use version "7.1". Only major version "6" is allowed.

The ``persistent_id``, ``retry_interval``, ``read_timeout``, ``timeout``, and
``sentinel_master`` options were introduced in Symfony 6.1.
Expand Down
Loading