STINNER Victor added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27354>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to