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.
>>> ssl.create_default_context().verify_mode <VerifyMode.CERT_REQUIRED: 2>
ssl/SSLContext.verify_mode
SSLContext.verify_mode