[New-bugs-announce] [issue18233] SSLSocket.getpeercertchain()

Christian Heimes report at bugs.python.org
Sun Jun 16 22:39:55 CEST 2013

New submission from Christian Heimes:

The patch implements a method getpeercertchain() on a SSLSocket. It returns the peer's certificate chain from the leaf cert to the root cert if available. It wraps SSL_get_peer_cert_chain().

SSL_get_peer_cert_chain() doesn't have to pull any additional data from the peer. The information is already exchanged for cert validation.

files: ssl_peerchertchain.patch
keywords: patch
messages: 191287
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: SSLSocket.getpeercertchain()
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file30611/ssl_peerchertchain.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list