[Twisted-Python] enable ssl in python application.

Girish Joshi girish946 at gmail.com
Wed Jul 17 00:09:25 MDT 2013


I want to enable ssl on port 7081 for my python application I'm using this
port for xmlrpc. I have twisted library installed but I'm not getting
exactly how to use it's functions to enable ssl. here is my code.

class server:
         reactor.listenTCP(7081, server.Site(myapp))
         reactor.run()

and at client side:

server_proxy = xmlrpclib.Server("http://localhost:7081",allow_none=True)

and what code should be there at the client side please suggest solution
for that. I also want to do the same thing for java client for the same
application(python server).

please suggest solution for that.

girish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20130717/0d7c9e32/attachment.html>


More information about the Twisted-Python mailing list