SSL follow up

Paul Rubin http
Tue Oct 24 01:14:35 EDT 2006


Yogesh Chawla - PD <premiergeneration at yahoo.com> writes:
> 2) I like the idea of calling openssl in a subprocess.
>  Do you have any of those openssl commands handy?  If
> not, I can look through the documentation tommorrow.

To dump out the certificate?  Try:

   openssl x509 -text -in filename.crt

if the cert is in a file.  Omit that -in parameter if you want openssl
to read from stdin.  Of course now you get this other text format
thing to parse, but it's not so bad.



More information about the Python-list mailing list