Awesome guys! Thank you very much!<div><br></div><div>I ended up using <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">"binary_form=True" and using M2Crypto to parse the cert.</span></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Cheers,</font></div><div><font color="#222222" face="arial, sans-serif">g.</font></div><div><br><div class="gmail_quote">
On Thu, Aug 16, 2012 at 4:48 AM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hello,<br>
<div class="im"><br>
Gustavo Baratto <gbaratto <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
><br>
> SSL.Socket.getpeercert() doesn't return essential information present in the<br>
> client certificate (issuer, serial number, not before, etc), and it looks it is<br>
> by design:<br>
<br>
</div>It does, in Python 3.2:<br>
<a href="http://docs.python.org/py3k/library/ssl.html#client-side-operation" target="_blank">http://docs.python.org/py3k/library/ssl.html#client-side-operation</a><br>
<br>
(although the getpeercert() doc should be updated to reflect this)<br>
<br>
If some information is still lacking from the returned value, please open an<br>
issue at <a href="http://bugs.python.org" target="_blank">http://bugs.python.org</a><br>
<br>
Regards<br>
<br>
Antoine.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Software development and contracting: <a href="http://pro.pitrou.net" target="_blank">http://pro.pitrou.net</a><br>
<br>
<br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div>