SSLSocket.getpeercert() doesn't return issuer, serial number, etc

Antoine Pitrou solipsis at pitrou.net
Thu Aug 16 07:48:39 EDT 2012


Hello,

Gustavo Baratto <gbaratto <at> gmail.com> writes:
> 
> SSL.Socket.getpeercert() doesn't return essential information present in the
> client certificate (issuer, serial number, not before, etc), and it looks it is
> by design:

It does, in Python 3.2:
http://docs.python.org/py3k/library/ssl.html#client-side-operation

(although the getpeercert() doc should be updated to reflect this)

If some information is still lacking from the returned value, please open an 
issue at http://bugs.python.org

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net





More information about the Python-list mailing list