PyDocs

Nav

Networking and Interprocess Communication

SSLContext.verify_mode

ssl

attribute of SSLContext (source) not WASI
Whether to try to verify other peers’ certificates and how to behave if verification fails. This attribute must be one of CERT_NONE, CERT_OPTIONAL or CERT_REQUIRED.
Changed in 3.6
  • 3.6: SSLContext.verify_mode returns VerifyMode enum: >>> ssl.create_default_context().verify_mode <VerifyMode.CERT_REQUIRED: 2>
1 Example
>>> ssl.create_default_context().verify_mode
<VerifyMode.CERT_REQUIRED: 2>
from the Python docs
See Also
No see-alsos for ssl/SSLContext.verify_mode
0 Notes
No notes for SSLContext.verify_mode