Hello,
I've spent many days in looking for a solution for my problem:
User have smartcard with certificate and private key. They need to
access SSL ressource using their personal certificate as client
certificate for SSL.
With "hard" certificate I have no problem using something like
httplib.HTTPSConnection('monsitessl',443,'mykey.key','mycert.crt')
How can I do it with python ? Is there a way a pyopenssl to do it ? Is
anyone can tell me a way ?
I'm using OpenSC for the PKCS11 lib. (which works pretty well with
Firefox...)
Regards,
--
Erwan
|