468,284 Members | 1,452 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,284 developers. It's quick & easy.

SSL in Python

I noticed in the documentation that they have ssl() in Python, but it says
only if configured. I just can't find info on how to configure SSL in
Python.
My goal is to write a simple p-2-p chat, but have all info encrypted between
clients.
Any help you could give me would be greatly appreciated!

Chris
Jul 18 '05 #1
2 3024
On Wed, Jun 25, 2003 at 11:23:57AM -0500, Chris Rennert wrote:
I noticed in the documentation that they have ssl() in Python, but it says
only if configured. I just can't find info on how to configure SSL in
Python. My goal is to write a simple p-2-p chat, but have all info
encrypted between clients. Any help you could give me would be greatly
appreciated!


Python's built-in SSL support only works for clients, not servers.
Several third party modules exist to provide server support, PyOpenSSL my
personal favorite. The gory details of this (and other networking issues)
are dealt with by Twisted: http://www.twistedmatrix.com/.

Jp

--
Seduced, shaggy Samson snored.
She scissored short. Sorely shorn,
Soon shackled slave, Samson sighed,
Silently scheming,
Sightlessly seeking
Some savage, spectacular suicide.
-- Stanislaw Lem, "Cyberiad"

Jul 18 '05 #2
Thanks, I am on my way there now.
Again thank you for the quick reply

Chris
"Jp Calderone" <ex*****@intarweb.us> wrote in message
news:ma**********************************@python.o rg...
On Wed, Jun 25, 2003 at 11:23:57AM -0500, Chris Rennert wrote:
I noticed in the documentation that they have ssl() in Python, but it says only if configured. I just can't find info on how to configure SSL in
Python. My goal is to write a simple p-2-p chat, but have all info
encrypted between clients. Any help you could give me would be greatly
appreciated!


Python's built-in SSL support only works for clients, not servers.
Several third party modules exist to provide server support, PyOpenSSL my
personal favorite. The gory details of this (and other networking issues)
are dealt with by Twisted: http://www.twistedmatrix.com/.

Jp

--
Seduced, shaggy Samson snored.
She scissored short. Sorely shorn,
Soon shackled slave, Samson sighed,
Silently scheming,
Sightlessly seeking
Some savage, spectacular suicide.
-- Stanislaw Lem, "Cyberiad"

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.