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
In order to use what I have come up with
(mostly thanks to Richard Jones and
Nagy) you would have to have
- a fake truststore in the lines of
Creating this tree may be a pain if you are not verse in openssl. However it
is currently out of the scope of this page
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
And tell me if you think that I did something wrong.