[issue32359] Add getters for all SSLContext internal configuration
Christian Heimes
report at bugs.python.org
Mon Dec 18 07:19:54 EST 2017
Christian Heimes <lists at cheimes.de> added the comment:
For certs and keys I have some plans. You might not be able to get hold of the actual private key bits, but it is always possible to get the public bits and key information.
The trust store information is pretty much opaque and often loaded by demand. https://docs.python.org/3/library/ssl.html#ssl.SSLContext.get_ca_certs and https://docs.python.org/3/library/ssl.html#ssl.get_default_verify_paths is pretty much everything I know how to retrieve. If find more stuff, I'm more than happy to expose it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32359>
_______________________________________
More information about the Python-bugs-list
mailing list