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 kroeckx
Recipients docs@python, kroeckx
Date 2017-11-11.19:36:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510428965.62.0.213398074469.issue32008@psf.upfronthosting.co.za>
In-reply-to
Content
Here:
https://docs.python.org/3/library/ssl.html#ssl.SSLContext.check_hostname

And here:
https://docs.python.org/2/library/ssl.html#ssl.SSLContext.check_hostname

It uses ssl.PROTOCOL_TLSv1, which is a bad example. Please change it to PROTOCOL_SSLv23 or PROTOCOL_TLS.

(Those were the first 2 examples I could find via google on how to create an ssl connection using python.)
History
Date User Action Args
2017-11-11 19:36:05kroeckxsetrecipients: + kroeckx, docs@python
2017-11-11 19:36:05kroeckxsetmessageid: <1510428965.62.0.213398074469.issue32008@psf.upfronthosting.co.za>
2017-11-11 19:36:05kroeckxlinkissue32008 messages
2017-11-11 19:36:05kroeckxcreate