File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1617,7 +1617,8 @@ to speed up repeated connections from the same clients.
16171617 :data: `CERT_NONE `. At least one of *cafile * or *capath * must be specified.
16181618
16191619 This method can also load certification revocation lists (CRLs) in PEM or
1620- DER format. In order to make use of CRLs, :attr: `SSLContext.verify_flags `
1620+ DER format, but only through *cafile * or *capath * (not *cadata *).
1621+ In order to make use of CRLs, :attr: `SSLContext.verify_flags `
16211622 must be configured properly.
16221623
16231624 The *cafile * string, if present, is the path to a file of concatenated
@@ -1634,6 +1635,8 @@ to speed up repeated connections from the same clients.
16341635 PEM-encoded certificates or a :term: `bytes-like object ` of DER-encoded
16351636 certificates. Like with *capath * extra lines around PEM-encoded
16361637 certificates are ignored but at least one certificate must be present.
1638+ Unlike *cafile * and *capath *, *cadata * accepts certificates only; CRLs
1639+ supplied through *cadata * are rejected.
16371640
16381641 .. versionchanged :: 3.4
16391642 New optional argument *cadata *
You can’t perform that action at this time.
0 commit comments