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 vstinner
Recipients pitrou, vstinner
Date 2014-03-12.11:20:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
ERROR: test_get_server_certificate (test.test_ssl.NetworkedTests)
Traceback (most recent call last):
  File "/home/haypo/prog/python/default/Lib/test/", line 1373, in test_get_server_certificate
    _test_get_server_certificate('', 443, SVN_PYTHON_ORG_ROOT_CERT)
  File "/home/haypo/prog/python/default/Lib/test/", line 1354, in _test_get_server_certificate
    pem = ssl.get_server_certificate((host, port))
  File "/home/haypo/prog/python/default/Lib/", line 902, in get_server_certificate
    with context.wrap_socket(sock) as sslsock:
  File "/home/haypo/prog/python/default/Lib/", line 344, in wrap_socket
  File "/home/haypo/prog/python/default/Lib/", line 540, in __init__
  File "/home/haypo/prog/python/default/Lib/", line 767, in do_handshake
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:598)


Extract of the current CA cert of
$ openssl x509 -in Lib/test/https_svn_python_org_root.pem -text
        Version: 3 (0x2)
        Serial Number: 0 (0x0)
    Signature Algorithm: md5WithRSAEncryption
        Issuer: O=Root CA, OU=, CN=CA Cert Signing Authority/
            Not Before: Mar 30 12:29:49 2003 GMT
            Not After : Mar 29 12:29:49 2033 GMT
        Subject: O=Root CA, OU=, CN=CA Cert Signing Authority/

Lib/test/https_svn_python_org_root.pem is identical to root certificate of authority.
Date User Action Args
2014-03-12 11:20:40vstinnersetrecipients: + vstinner, pitrou
2014-03-12 11:20:40vstinnersetmessageid: <>
2014-03-12 11:20:39vstinnerlinkissue20896 messages
2014-03-12 11:20:39vstinnercreate