Reputation: 15069
I already have a very simple threading XML-RPC server in Python:
from SocketServer import ThreadingMixIn
class AsyncXMLRPCServer(ThreadingMixIn, SimpleXMLRPCServer):
pass
server = AsyncXMLRPCServer(('localhost', 9999))
server.register_instance(some_object())
server.serve_forever()
Now I want to make it accessible exclusively over https. What do I do?
Upvotes: 2
Views: 1868
Reputation: 127447
The standard library doesn't support HTTPS servers. There is a Cookbook Recipe using an OpenSSL module. There is also a Twisted solution.
Upvotes: 5