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 loewis
Recipients Arfrever, christian.heimes, ezio.melotti, loewis, pitrou, r.david.murray, rhettinger, vstinner
Date 2014-03-14.18:43:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394822620.57.0.885906097688.issue20913@psf.upfronthosting.co.za>
In-reply-to
Content
I'd add a sentence to this paragraph

"""If a client certificate is needed for the connection, it can be added with

context.load_cert_chain(path_to_certificate, path_to_private_key)
"""

Then, in all places where a context and cert/key parameters are allowed (e.g. SMTP_SSL and starttls()), I'd remove the sentence saying that context is an alternative way to provide a private key, and say instead

"""See <link to "best defaults"> for configuring parameters of the TLS connection, such as validation of the server certificate, using the context parameter."""
History
Date User Action Args
2014-03-14 18:43:40loewissetrecipients: + loewis, rhettinger, pitrou, vstinner, christian.heimes, ezio.melotti, Arfrever, r.david.murray
2014-03-14 18:43:40loewissetmessageid: <1394822620.57.0.885906097688.issue20913@psf.upfronthosting.co.za>
2014-03-14 18:43:40loewislinkissue20913 messages
2014-03-14 18:43:40loewiscreate