Message134622
Hello,
> This patch (is_ipv6_enabled.diff) must be applied before
> ssl_ipv6.diff.
is_ipv6_enabled.diff is fine.
As for ssl_ipv6.diff, it fails on certificate verification:
======================================================================
ERROR: test_get_server_certificate (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/cpython/default/Lib/test/test_ssl.py", line 630, in test_get_server_certificate
_test_get_server_certificate('ipv6.google.com', 443)
File "/home/antoine/cpython/default/Lib/test/test_ssl.py", line 622, in _test_get_server_certificate
pem = ssl.get_server_certificate((host, port), ca_certs=SVN_PYTHON_ORG_ROOT_CERT)
File "/home/antoine/cpython/default/Lib/ssl.py", line 548, in get_server_certificate
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/home/antoine/cpython/default/Lib/ssl.py", line 498, in wrap_socket
ciphers=ciphers)
File "/home/antoine/cpython/default/Lib/ssl.py", line 255, in __init__
raise x
File "/home/antoine/cpython/default/Lib/ssl.py", line 251, in __init__
self.do_handshake()
File "/home/antoine/cpython/default/Lib/ssl.py", line 430, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [Errno 1] _ssl.c:389: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
I think you should simply use ca_certs=None when testing with the Google
host. |
|
Date |
User |
Action |
Args |
2011-04-27 21:52:11 | pitrou | set | recipients:
+ pitrou, neologix, pwouters |
2011-04-27 21:52:10 | pitrou | link | issue11811 messages |
2011-04-27 21:52:10 | pitrou | create | |
|