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 vstinner
Recipients Ilya.Kulakov, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-06-20.19:58:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466452685.29.0.677512557321.issue27354@psf.upfronthosting.co.za>
In-reply-to
Content
The Python ssl module is a wrapper to the OpenSSL library. For this issue, we are talking about the function SSL_CTX_load_verify_locations():
https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_load_verify_locations.html

OpenSSL expects a byte string for CAfile and CApath. On Windows, it means a string encoded to the ANSI code page.

OpenSSL doesn't seem to support paths not encodable to the ANSI code page on Windows. I suggest you to report the issue to the OpenSSL bug tracker:
https://www.openssl.org/community/#bugs

A workaround is to avoid characters not encodable to the ANSI code page, maybe by using symbolic links?
History
Date User Action Args
2016-06-20 19:58:05vstinnersetrecipients: + vstinner, paul.moore, tim.golden, ezio.melotti, zach.ware, steve.dower, Ilya.Kulakov
2016-06-20 19:58:05vstinnersetmessageid: <1466452685.29.0.677512557321.issue27354@psf.upfronthosting.co.za>
2016-06-20 19:58:05vstinnerlinkissue27354 messages
2016-06-20 19:58:05vstinnercreate