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 Ilya.Kulakov, christian.heimes, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-09-08.17:38:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504892293.16.0.153436067115.issue27354@psf.upfronthosting.co.za>
In-reply-to
Content
Ilya,

The exception "TypeError: cafile should be a valid filesystem path" is raised by Python, not by OpenSSL. On Python 3.5, PyUnicode_FSConverter() uses MBCS, which is CP-1552 on your system. CP-1552 cannot convert Arabic character set and fails to encode your user name to bytes. This issue has been addressed by PEP 529 in Python 3.6. Starting with Python 3.6, the file system encoding is UTF-8, see https://www.python.org/dev/peps/pep-0529/

3.5 is in security fix-only mode. You either have to keep encoding the path as UTF-8 explicitly or update to Python 3.6. I'm closing this issue was WONTFIX 3.5 and FIXED >= 3.6.
History
Date User Action Args
2017-09-08 17:38:13christian.heimessetrecipients: + christian.heimes, paul.moore, vstinner, tim.golden, ezio.melotti, zach.ware, steve.dower, Ilya.Kulakov
2017-09-08 17:38:13christian.heimessetmessageid: <1504892293.16.0.153436067115.issue27354@psf.upfronthosting.co.za>
2017-09-08 17:38:13christian.heimeslinkissue27354 messages
2017-09-08 17:38:13christian.heimescreate