[Python-checkins] cpython: whatsnew: SSLContext.load_default_certs (#19292).

r.david.murray python-checkins at python.org
Mon Mar 10 02:35:07 CET 2014


http://hg.python.org/cpython/rev/35a5284d5388
changeset:   89543:35a5284d5388
user:        R David Murray <rdmurray at bitdance.com>
date:        Sun Mar 09 19:41:25 2014 -0400
summary:
  whatsnew: SSLContext.load_default_certs (#19292).

files:
  Doc/whatsnew/3.4.rst |  9 +++++++++
  1 files changed, 9 insertions(+), 0 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1318,6 +1318,15 @@
 OpenSSL does not do any CRL verification by default.  (Contributed by
 Christien Heimes in :issue:`8813`.)
 
+New :class:`~ssl.SSLContext` method :meth:`~ssl.SSLContext.load_default_certs`
+loads a set of dfault "certificate authority" (CA) certificates from default
+locations, which vary according to the platform.  It can be used to load both
+TLS web server authentication certificates
+(``purpose=``:data:`~ssl.Purpose.SERVER_AUTH`) for a client to use to verify a
+server, and certificates for a server to use in verifying client certificates
+(``purpose=``:data:`~ssl.Purpose.CLIENT_AUTH`).  (Contributed by Christian
+Heimes in :issue:`19292`.)
+
 
 stat
 ----

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list