SSL certificate parsing?

Taras Ivashchenko naplanetu at
Sun Jan 4 22:30:15 CET 2009

Hello, list!

I use pyopenssl [0] for checking SSL certificates.
And one of such checks is if given certificate is self-signed.
I can do it using values of X509v3 extensions: the subject key identifier and
the authority key id:
X509v3 Subject Key Identifier:
X509v3 Authority Key Identifier:

I read documentation of pyOpenSSL but I didn't find way how to grub
this information
from certificate using, for example, methods of X509 object.

May be there is another way to parse SSL certificates?
I will be glad to get ever text version of given SSL certificate :)


P.S. I already wrote to  pyopenssl mailing list, but there is now
answer there :(

Тарас Иващенко (Taras Ivashchenko)
"Software is like sex: it's better when it's free.", - Linus Torvalds.

More information about the Python-list mailing list