mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fixed typo in ssl_version doc, TLSv2 -> TLSv1_2 (TLS 1.2). (#1959)
* Fixed typo in ssl_version doc, TLSv2 -> TLSv1_2 (TLS 1.2). Signed-off-by: Brett Randall <javabrett@gmail.com> * revert chdir change
This commit is contained in:
parent
ba0d784960
commit
c85bfba8b2
@ -436,11 +436,29 @@ ssl_version
|
||||
* ``--ssl-version``
|
||||
* ``_SSLMethod.PROTOCOL_TLS``
|
||||
|
||||
SSL version to use (see stdlib ssl module's)
|
||||
SSL version to use.
|
||||
|
||||
============= ============
|
||||
--ssl-version Description
|
||||
============= ============
|
||||
SSLv3 SSLv3 is not-secure and is strongly discouraged.
|
||||
SSLv23 Alias for TLS. Deprecated in Python 3.6, use TLS.
|
||||
TLS Negotiate highest possible version between client/server.
|
||||
Can yield SSL. (Python 3.6+)
|
||||
TLSv1 TLS 1.0
|
||||
TLSv1_1 TLS 1.1 (Python 3.4+)
|
||||
TLSv1_2 TLS 1.2 (Python 3.4+)
|
||||
TLS_SERVER Auto-negotiate the highest protocol version like TLS,
|
||||
but only support server-side SSLSocket connections.
|
||||
(Python 3.6+)
|
||||
============= ============
|
||||
|
||||
.. versionchanged:: 19.7
|
||||
The default value has been changed from ``ssl.PROTOCOL_TLSv1`` to
|
||||
``ssl.PROTOCOL_SSLv23``.
|
||||
.. versionchanged:: 20.0
|
||||
This setting now accepts string names based on ``ssl.PROTOCOL_``
|
||||
constants.
|
||||
|
||||
.. _cert-reqs:
|
||||
|
||||
|
||||
@ -1900,10 +1900,11 @@ class SSLVersion(Setting):
|
||||
Can yield SSL. (Python 3.6+)
|
||||
TLSv1 TLS 1.0
|
||||
TLSv1_1 TLS 1.1 (Python 3.4+)
|
||||
TLSv2 TLS 1.2 (Python 3.4+)
|
||||
TLSv1_2 TLS 1.2 (Python 3.4+)
|
||||
TLS_SERVER Auto-negotiate the highest protocol version like TLS,
|
||||
but only support server-side SSLSocket connections.
|
||||
(Python 3.6+)
|
||||
============= ============
|
||||
|
||||
.. versionchanged:: 19.7
|
||||
The default value has been changed from ``ssl.PROTOCOL_TLSv1`` to
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user