Skip to content

[HttpClient] Document the crypto_method option #18334

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
May 23, 2023
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
18 changes: 15 additions & 3 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1027,9 +1027,21 @@ ciphers

**type**: ``string``

A list of the names of the ciphers allowed for the SSL/TLS connections. They
A list of the names of the ciphers allowed for the TLS connections. They
can be separated by colons, commas or spaces (e.g. ``'RC4-SHA:TLS13-AES-128-GCM-SHA256'``).

crypto_method
.............

**type**: ``integer``

The minimum version of TLS to accept. The value must be one of the
``STREAM_CRYPTO_METHOD_TLSv*_CLIENT`` constants defined by PHP.

.. versionadded:: 6.3

The ``crypto_method`` option was introduced in Symfony 6.3.

delay
.....

Expand Down Expand Up @@ -1183,7 +1195,7 @@ peer_fingerprint

**type**: ``array``

When negotiating a TLS or SSL connection, the server sends a certificate
When negotiating a TLS connection, the server sends a certificate
indicating its identity. A public key is extracted from this certificate and if
it does not exactly match any of the public keys provided in this option, the
connection is aborted before sending or receiving any data.
Expand Down Expand Up @@ -1265,7 +1277,7 @@ verify_peer

**type**: ``boolean`` **default**: ``true``

If ``true``, the certificate sent by other servers when negotiating a TLS or SSL
If ``true``, the certificate sent by other servers when negotiating a TLS
connection is verified for authenticity. Authenticating the certificate is not
enough to be sure about the server, so you should combine this with the
``verify_host`` option.
Expand Down