Twisted Python XML Rpc Server w/ HTTPS SSL Authentication

Home \ Software We Wrote \ Twisted Python XML Rpc Server w/ HTTPS SSL Authentication

Python XMLRPC Server with SSL & Authentication is a modular XML-RPC server with authentication for Python using the Twisted framework. The server is extensible using a simple class and allows for HTTPS (SSL) authentication with login and password.

This project apprarently needs a rewrite because Web2 package is deprecated and will stop working at any point in the near future. If you have time please submit a patch through github.

Download

Fork on Github

Example

Install Twisted
Install Zope Interfaces
Install pyOpenSSL
Install web2 from Twisted: (either from svn or for the Web2 package)
svn co svn://svn.twistedmatrix.com/svn/Twisted/trunk Twisted

Move web2 into twisted

Make salted hash password (salt is the last 2 characters of the password)

Add username/password to httpspass.conf

Create a Twisted Client

Start the server: twistd -y xmlrpc_app.py
Test the client: python client.py