[Twisted-Python] SSL Client Certificates?

asset asset at impactdamage.com
Tue Nov 25 14:09:19 EST 2008


Would I be right in assuming that the example echoserv_ssl.py and echoclient_ssl.py will only result in encryption from the client to server and not from the server back to the client?

Im referencing these examples specifically,
http://twistedmatrix.com/projects/core/documentation/examples/echoclient_ssl.py
http://twistedmatrix.com/projects/core/documentation/examples/echoclient_ssl.py

From what I know of SSL, the client connects to the server, and after the handshake it uses the cert to encrypt its communication to the server and the server uses the private key to decrypt it; but the server's traffic back to the client will not be encrypted without having to use a client certificate.

So my question is how wrong am I on this? And if needed, how do I setup a client certificate to succeed in two way encryption?

Thanks!

TKiel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20081125/f617cb66/attachment.htm 


More information about the Twisted-Python mailing list