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 pwouters
Recipients pwouters
Date 2011-04-09.21:18:19
SpamBayes Score 4.5888e-09
Marked as misclassified No
Message-id <>
ssl.get_server_certificate() does not work for IPv6 addresses:

>>> ssl.get_server_certificate( ("2001:888:2003:1004:c2ff:eeff:fe00:133",443))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/", line 403, in get_server_certificate
  File "/usr/lib64/python2.7/", line 292, in connect
    socket.connect(self, addr)
  File "/usr/lib64/python2.7/", line 222, in meth
    return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -9] Address family for hostname not supported
Date User Action Args
2011-04-09 21:18:20pwouterssetrecipients: + pwouters
2011-04-09 21:18:20pwouterssetmessageid: <>
2011-04-09 21:18:19pwouterslinkissue11811 messages
2011-04-09 21:18:19pwouterscreate