summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMateusz Nowak <nowak.mateusz@hotmail.com>2023-09-20 01:20:54 (GMT)
committerGitHub <noreply@github.com>2023-09-20 01:20:54 (GMT)
commit5a740cd06ec1191767edcc6d3a7d5eca7873cb7b (patch)
tree26f85d51e466e5ce837874798cffe888d31f7c4c /Misc
parentddf2e953c27d529b7e321c972ede2afce5dfb0b0 (diff)
downloadcpython-5a740cd06ec1191767edcc6d3a7d5eca7873cb7b.zip
cpython-5a740cd06ec1191767edcc6d3a7d5eca7873cb7b.tar.gz
cpython-5a740cd06ec1191767edcc6d3a7d5eca7873cb7b.tar.bz2
gh-109109: Expose retrieving certificate chains in SSL module (#109113)
Adds APIs to get the TLS certificate chains, verified or full unverified, from SSLSocket and SSLObject. Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-09-19-17-56-24.gh-issue-109109.WJvvX2.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-09-19-17-56-24.gh-issue-109109.WJvvX2.rst b/Misc/NEWS.d/next/Library/2023-09-19-17-56-24.gh-issue-109109.WJvvX2.rst
new file mode 100644
index 0000000..e741e60
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-09-19-17-56-24.gh-issue-109109.WJvvX2.rst
@@ -0,0 +1,5 @@
+You can now get the raw TLS certificate chains from TLS connections via
+:meth:`ssl.SSLSocket.get_verified_chain` and
+:meth:`ssl.SSLSocket.get_unverified_chain` methods.
+
+Contributed by Mateusz Nowak.