Re: SSL follow up

2006-10-26 Thread Michael Ströder
Paul Rubin wrote: > > 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. I wouldn't re

Re: SSL follow up

2006-10-25 Thread Heikki Toivonen
Yogesh Chawla - PD wrote: > I have 2 questions. 1) How do we get the Server cert > in python. John wrote: "Nor does there seem to be a > way to get at the certificate itself from within > Python." Perhaps pycurl will allow us to do this. Is > there another method to get the server cert? Here's

Re: SSL follow up

2006-10-23 Thread Paul Rubin
Yogesh Chawla - PD <[EMAIL PROTECTED]> 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