PyDocs

Nav

Networking and Interprocess Communication

CERT_REQUIRED

ssl

datanot WASI
Possible value for SSLContext.verify_mode. In this mode, certificates are required from the other side of the socket connection; an SSLError will be raised if no certificate is provided, or if its validation fails. This mode is not sufficient to verify a certificate in client mode as it does not match hostnames. check_hostname must be enabled as well to verify the authenticity of a cert. PROTOCOL_TLS_CLIENT uses CERT_REQUIRED and enables check_hostname by default.
0 Examples
No examples for ssl/CERT_REQUIRED.
See Also
No see-alsos for ssl/CERT_REQUIRED
0 Notes
No notes for CERT_REQUIRED