XML-RPC over SSL in Python

I saw that creating an XML-RPC client-server system in python is very simple. However, when I wanted to see how to do it all over SSL, everything got complicated. I wanted the server to authenticate the client, and vice versa.

I had to do a lot of looking around, mixing and matching to make it all work together.


In order to use what I have come up with (mostly thanks to Richard Jones and Laszlo Nagy) you would have to have

A Solution

If these are all set, you can download my take at SecureXMLRPCServer.py, run the server with
python SecureXMLRPCServer.py &
and then the client:
python SecureXMLRPCServer.py -c

Good Luck

And tell me if you think that I did something wrong.