Hi Timothy,

> On Mar 19, 2015, at 9:56 AM, Timothy Gallagher 
> <timothy.gallag...@nuspire.com> wrote:
> 
> Hello all,
> I have a project that requires client server with ssl/tls including client 
> certificate authentication.  Also the a requirement is that the client needs 
> to use a .p12 file to house its keys.  I have the server part and client part 
> down except I cannot find any code examples using a .p12 file to get the 
> certificates.  Can this be done without having to hack into the 
> ssl.ClientConextFactory?

Maybe 
http://stackoverflow.com/questions/6345786/python-reading-a-pkcs12-certificate-with-pyopenssl-crypto
 
<http://stackoverflow.com/questions/6345786/python-reading-a-pkcs12-certificate-with-pyopenssl-crypto>
 will be useful to you.  Twisted uses pyopenssl under the covers, so the 
solution exarkun posted to StackOverflow should be applicable.

Hope this helps,

- L. Daniel Burr

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to