SSL and confirming certs

2006-10-26 Thread Yogesh Chawla - PD
Hello All, Here is a script I wrote to validate the cert sent by the server. It just makes system calls to open ssl. This is because python support is inadequate in this area. Let me know if this is helpful. I monkeyed with twisted, m2crypto, pyopenssl, and found myself sinking into a deep depr

FTP over TLS

2006-10-24 Thread Yogesh Chawla - PD
Hello All, The state of wisc. wrote a script to do FTP over TLS using pycurl. I can post this here, but first need to yank a bunch of password info out and get some security clearance. If someone is interested and wants to email me offline, please do so at this address. Cheers, Yogesh -- http:/

SSL follow up

2006-10-23 Thread Yogesh Chawla - PD
Hi Paul and John, Thanks for the SSL follow up messages. 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 th

https client certificate validation

2006-10-23 Thread Yogesh Chawla - PD
Hello All, I work for the State of Wisconsin and we are trying to build a reference implementation using python. Our goals are this: 1) establish an HTTPS connection between our client and ourselves 2) exchange client and server certificates to perform mutual authentication We only need to writ