mirror of https://github.com/python/cpython
Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (#122646)
This commit is contained in:
parent
50b3603751
commit
06eb9701a1
|
@ -2710,7 +2710,7 @@ Verifying certificates
|
||||||
|
|
||||||
When calling the :class:`SSLContext` constructor directly,
|
When calling the :class:`SSLContext` constructor directly,
|
||||||
:const:`CERT_NONE` is the default. Since it does not authenticate the other
|
:const:`CERT_NONE` is the default. Since it does not authenticate the other
|
||||||
peer, it can be insecure, especially in client mode where most of time you
|
peer, it can be insecure, especially in client mode where most of the time you
|
||||||
would like to ensure the authenticity of the server you're talking to.
|
would like to ensure the authenticity of the server you're talking to.
|
||||||
Therefore, when in client mode, it is highly recommended to use
|
Therefore, when in client mode, it is highly recommended to use
|
||||||
:const:`CERT_REQUIRED`. However, it is in itself not sufficient; you also
|
:const:`CERT_REQUIRED`. However, it is in itself not sufficient; you also
|
||||||
|
|
Loading…
Reference in New Issue