Simple HTTPS Server

Tim Peters tim.one at comcast.net
Tue Dec 17 14:22:11 EST 2002


[Trent Mick, on how to get SSL working]
> You will have to obtain OpenSSL (www.openssl.org), compile it, and
> re-build Python's _socket.pyd (if you are on Windows) or _socket.so (if
> you are on Linux) with SSL support. On Linux setup.py is used to build
> _socket.so (among other extensions). If it finds built OpenSSL libs it
> will compile in SSL support. On Windows you have to get the _socket.dsp
> project to define USE_SSL and include the openssl include directory when
> compiling and links with the OpenSSL .lib files when linking.

Just noting that SSL support on Windows will be a standard out-of-the-box
thing in Python 2.3, thanks to heroic efforts from Mark Hammond.

> I _thought_ you could find replacement _socket.pyd's on some site but I
> can't find them anymore.

Ditto, ditto.





More information about the Python-list mailing list