Commit Graph

15 Commits

Author SHA1 Message Date
Antoine Pitrou 617c4dc304 Add a --ciphers option to Lib/test/ssl_servers.py 2014-04-17 12:30:14 +02:00
Antoine Pitrou 05649f39ec Use ssl.create_default_context in Lib/test/ssl_servers.py 2014-04-17 12:21:36 +02:00
Antoine Pitrou da23259f99 Issue #17107: Test client-side SNI support in urllib.request thanks to the new server-side SNI support in the ssl module.
Initial patch by Daniel Black.
2013-02-05 21:20:51 +01:00
Andrew Svetlov 0832af6628 Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
Antoine Pitrou 0e576f1f50 Issue #13626: Add support for SSL Diffie-Hellman key exchange, through the
SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option.
2011-12-22 10:03:38 +01:00
Antoine Pitrou 8abdb8abd8 Issue #13634: Add support for querying and disabling SSL compression. 2011-12-20 10:13:40 +01:00
Antoine Pitrou 923df6f22a Issue #13627: Add support for SSL Elliptic Curve-based Diffie-Hellman
key exchange, through the SSLContext.set_ecdh_curve() method and the
ssl.OP_SINGLE_ECDH_USE option.
2011-12-19 17:16:51 +01:00
Antoine Pitrou fb0901c968 In the test SSL server, also output the cipher name 2011-12-18 19:00:02 +01:00
Antoine Pitrou 4a5f9677f3 Output served URL when running ssl_servers 2010-11-05 20:26:59 +00:00
Antoine Pitrou 66c95c745b Fix test_httplib when built without threads 2010-11-05 20:17:55 +00:00
Antoine Pitrou d2eca37cc5 Clean up socket closing in test_ssl and test.ssl_servers 2010-10-29 23:41:37 +00:00
Antoine Pitrou 48e00f3ab6 Use PROTOCOL_SSLv23 in the test HTTPS server, in an attempt to appease the old Gentoo buildbot 2010-10-13 12:06:43 +00:00
Antoine Pitrou 84fa4314ba Print out socket errors in HTTPS server thread 2010-10-13 11:51:05 +00:00
Antoine Pitrou f26f87ef06 Run a simple HTTPS server when Lib/test/ssl_servers.py is run as __main__ 2010-10-13 11:27:09 +00:00
Antoine Pitrou 803e6d670c Issue #9003: http.client.HTTPSConnection, urllib.request.HTTPSHandler and
urllib.request.urlopen now take optional arguments to allow for
server certificate checking, as recommended in public uses of HTTPS.
2010-10-13 10:36:15 +00:00