[issue21025] if check_hostname is true, context can't be used for server purposes

Antoine Pitrou report at bugs.python.org
Sat Mar 22 12:35:11 CET 2014


New submission from Antoine Pitrou:

On a SSLContext with check_hostname = True, calling wrap_socket(..., server_side=True) will complain that no server hostname has been passed. This should only be done for client sockets.

----------
components: Library (Lib)
messages: 214462
nosy: christian.heimes, giampaolo.rodola, janssen, pitrou
priority: normal
severity: normal
status: open
title: if check_hostname is true, context can't be used for server purposes
type: behavior
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21025>
_______________________________________


More information about the Python-bugs-list mailing list