Skip to content
Open
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
5 changes: 4 additions & 1 deletion Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1617,7 +1617,8 @@ to speed up repeated connections from the same clients.
:data:`CERT_NONE`. At least one of *cafile* or *capath* must be specified.

This method can also load certification revocation lists (CRLs) in PEM or
DER format. In order to make use of CRLs, :attr:`SSLContext.verify_flags`
DER format, but only through *cafile* or *capath* (not *cadata*).
In order to make use of CRLs, :attr:`SSLContext.verify_flags`
must be configured properly.

The *cafile* string, if present, is the path to a file of concatenated
Expand All @@ -1634,6 +1635,8 @@ to speed up repeated connections from the same clients.
PEM-encoded certificates or a :term:`bytes-like object` of DER-encoded
certificates. Like with *capath* extra lines around PEM-encoded
certificates are ignored but at least one certificate must be present.
Unlike *cafile* and *capath*, *cadata* accepts certificates only; CRLs
supplied through *cadata* are rejected.

.. versionchanged:: 3.4
New optional argument *cadata*
Expand Down
Loading