[issue13288] SSL module doesn't allow access to cert issuer information

2011-10-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13288 ___ ___ Python-bugs-list mailing list

[issue13288] SSL module doesn't allow access to cert issuer information

2011-10-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It's available in 3.3: ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) ctx.verify_mode = ssl.CERT_REQUIRED ctx.set_default_verify_paths() with ctx.wrap_socket(socket.socket()) as sock: ... sock.connect((svn.python.org, 443)) ... cert =

[issue13288] SSL module doesn't allow access to cert issuer information

2011-10-28 Thread John Nagle
New submission from John Nagle na...@users.sourceforge.net: The SSL module still doesn't return much information from the certificate. SSLSocket.getpeercert only returns a few basic items about the certificate subject. You can't retrieve issuer information, and you can't get the extensions