This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2017-09-04.23:20:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504567229.39.0.291802798091.issue31346@psf.upfronthosting.co.za>
In-reply-to
Content
Since Python 3.6 the ssl module has three new protocols:


* PROTOCOL_TLS is the new, preferred, and less confusing name of PROTOCOL_SSLv23. It performs auto-negotiation of the best TLS/SSL protocol supported by client and server.
* PROTOCOL_TLS_CLIENT is a client-only variant of PROTOCOL_TLS. The protocol also enables check_hostname and CERT_REQUIRED.
* PROTOCOL_TLS_SERVER is server side-only variant. It leaves check_hostname disabled and has CERT_NONE (no client cert validation).

Tests and code should prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER whenever possible.
History
Date User Action Args
2017-09-04 23:20:29christian.heimessetrecipients: + christian.heimes
2017-09-04 23:20:29christian.heimessetmessageid: <1504567229.39.0.291802798091.issue31346@psf.upfronthosting.co.za>
2017-09-04 23:20:29christian.heimeslinkissue31346 messages
2017-09-04 23:20:29christian.heimescreate