Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27156

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

From Antoine Pitrou <solipsis@pitrou.net>
Subject Re: SSLSocket.getpeercert() doesn't return issuer, serial number, etc
Date 2012-08-16 11:48 +0000
References <CAGv_rMieX1hTzxuKXixC=2hm0es3VR-3tgNpGQTUgU42uk2+fw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3357.1345117736.4697.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: SSLSocket.getpeercert() doesn't return issuer, serial number, etc Antoine Pitrou <solipsis@pitrou.net> - 2012-08-16 11:48 +0000

csiph-web