On 12/02/2008 15:32 Evandro Dugnani wrote:
On Feb 8, 2008 9:10 PM, Colin Alston <[EMAIL PROTECTED]> wrote:
Change TCPServer to SSLServer. Will also help to read the API docs.
Hi Colin,
Thanks for the tip.
Using that, I discovered that I had to generate a private key file,
and then generate a self-signed SSL certificate..
After that, I just created a ssl context with the private key and
the certificate and changed my call "reactor.listenTCP()" to
"reactor.listenSSL()", passing the ssl context as parameter.
Oh I forgot about the context factory you need. Still, the keys is
basically swapping TCPServer or listenTCP for SSLServer or listenSSL :P
--
Colin Alston ~ http://www.karnaugh.za.net/
"To the world you may be one person, to one person you may be the
world" ~ Rachel Ann Nunes.
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web