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 alex, christian.heimes, dstufft, janssen, yan12125
Date 2017-09-08.19:03:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504897403.2.0.673631922971.issue28182@psf.upfronthosting.co.za>
In-reply-to
Content
The ssl module now reports cause of validation failure:

>>> import ssl
>>> import ssl, socket
>>> ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
>>> sock = ctx.wrap_socket(socket.socket(), server_hostname='www.python.org')
>>> sock.connect(('www.python.org', 443))
Traceback (most recent call last):
...
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:825)
History
Date User Action Args
2017-09-08 19:03:23christian.heimessetrecipients: + christian.heimes, janssen, alex, dstufft, yan12125
2017-09-08 19:03:23christian.heimessetmessageid: <1504897403.2.0.673631922971.issue28182@psf.upfronthosting.co.za>
2017-09-08 19:03:23christian.heimeslinkissue28182 messages
2017-09-08 19:03:23christian.heimescreate