Christian Heimes added the comment: So it's not a problem with the SSL module but rather in asyncio. From the initial report it was not clear to me that it only affects asyncio.
I'm not sure this issue should be fixed at all. As I explained earlier, a hostname is required for both hostname verification and SNI TLS extension. We may allow to omit the parameter with verify_mode=CERT_NONE and check_hostname=False only. In all other cases the server may return a wrong cert or refuse to establish a connection. ---------- assignee: christian.heimes -> yselivanov components: -SSL _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27391> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com