whatsnew: SSLContext.load_default_certs (#19292).

This commit is contained in:
R David Murray 2014-03-09 19:41:25 -04:00
parent f3b3e9e23c
commit 01e6accd19
1 changed files with 9 additions and 0 deletions

View File

@ -1318,6 +1318,15 @@ constants :data:`~ssl.VERIFY_DEFAULT`, :data:`~ssl.VERIFY_CRL_CHECK_LEAF`,
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
----