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 <rep...@bugs.python.org> <http://bugs.python.org/issue18233> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com