Message133422
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/ssl.py", line 403, in get_server_certificate
s.connect(addr)
File "/usr/lib64/python2.7/ssl.py", line 292, in connect
socket.connect(self, addr)
File "/usr/lib64/python2.7/socket.py", 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:20 | pwouters | set | recipients:
+ pwouters |
2011-04-09 21:18:20 | pwouters | set | messageid: <1302383900.51.0.808943452569.issue11811@psf.upfronthosting.co.za> |
2011-04-09 21:18:19 | pwouters | link | issue11811 messages |
2011-04-09 21:18:19 | pwouters | create | |
|