Skip to content

Commit 1677413

Browse files
committed
minor #18334 [HttpClient] Document the crypto_method option (javiereguiluz)
This PR was merged into the 6.3 branch. Discussion ---------- [HttpClient] Document the crypto_method option Fixes #18306. I removed the references to `SSL` because we did the same in the related code PR: https://github.com/symfony/symfony/pull/50274/files Commits ------- 0ce171c [HttpClient] Document the crypto_method option
2 parents 28a7912 + 0ce171c commit 1677413

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

reference/configuration/framework.rst

+15-3
Original file line numberDiff line numberDiff line change
@@ -1027,9 +1027,21 @@ ciphers
10271027

10281028
**type**: ``string``
10291029

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

1033+
crypto_method
1034+
.............
1035+
1036+
**type**: ``integer``
1037+
1038+
The minimum version of TLS to accept. The value must be one of the
1039+
``STREAM_CRYPTO_METHOD_TLSv*_CLIENT`` constants defined by PHP.
1040+
1041+
.. versionadded:: 6.3
1042+
1043+
The ``crypto_method`` option was introduced in Symfony 6.3.
1044+
10331045
delay
10341046
.....
10351047

@@ -1183,7 +1195,7 @@ peer_fingerprint
11831195

11841196
**type**: ``array``
11851197

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

12661278
**type**: ``boolean`` **default**: ``true``
12671279

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

0 commit comments

Comments
 (0)