Using Python SSL
Ng Pheng Siong
ngps at madcap.dyndns.org
Sat Jan 13 10:27:20 EST 2001
According to Gavin Cooper <skreech at socket.net>:
> This leads me to think that there might not be a way to use Python's SSL
> like this to code an SSL _server_. I'll have to browse the socket module
The last time I looked Python 2.0's built-in SSL doesn't do servers.
Somebody posted patches to c.l.py to do that, but I can't seem to find
a copy nor a pointer on my disk.
M2Crypto does SSL clients and servers and works with both Python
1.5.2 and Python 2.0.
For server examples, the package comes with the canonical "echo" server
done the following ways:
- iterative
- forking
- threading, 2 flavours
- asynchronous socket i/o
Get it here:
http://www.post1.com/home/ngps/m2
Cheers.
--
Ng Pheng Siong <ngps at post1.com> * http://www.post1.com/home/ngps
More information about the Python-list
mailing list