PyDocs

Nav

Networking and Interprocess Communication

SSLContext.hostname_checks_common_name

ssl

attribute of SSLContext · Added in 3.7 (source) not WASI
Whether check_hostname falls back to verify the cert’s subject common name in the absence of a subject alternative name extension (default: true).
Changed in 3.10
  • 3.10: The flag had no effect with OpenSSL before version 1.1.1l. Python 3.8.9, 3.9.3, and 3.10 include workarounds for previous versions.
0 Examples
No examples for ssl/SSLContext.hostname_checks_common_name.
See Also
No see-alsos for ssl/SSLContext.hostname_checks_common_name
0 Notes
No notes for SSLContext.hostname_checks_common_name