XML-RPC over HTTPS/SSL

Thomas Weholt thomas at weholt.org
Thu Feb 21 00:01:18 CET 2002


Ok, after a few hours of "hard" work I finally got it working, even supports
gzipped xmlrpc-responses and basic user authentication. The code is
available at http://home.online.no/~t-weh/releases/xmlrpcauth.py and is no
more than a modified version of the post I found using google ( address
below ).

I didn't see the replies until now so I haven't had time to check those out
yet. Probably learned something while hacking at the code so it wasn't a
total waste of time ( hopefully ).

Anyway, thanks for your replies.

Best regards,
Thomas Weholt

"Thomas Weholt" <thomas at gatsoft.no> wrote in message
news:8rKc8.4$5vh.135400448 at news.telia.no...
> I got a xmlrpc-server running using M2Crypto, making it encrypted with
SSL.
> I cannot get any xmlrpc-client to connect though, no matter what.
>
> Looked at resources found searching google, for instance
> http://lists.zope.org/pipermail/zope/2001-May/089457.html. but with no
luck.
> Does anybody have any code showing how to connect a client to a
> xml-rpc-server using SSL/HTTPS , preferrably with user authentication
also?
> ( to make it perfect, it would accept gzip-encoding to speed up transfers
> :-) )
>
> I'm using xmlrpclib from pythonware.com.
>
> I keep seeing stuff about SSL/HTTPS-support in standard python, but ... ??
> Do you compile the interpreter with OpenSSL etc ?? My clients and servers
> will most probably run 60% on Linux and 40% windows, and re-compilation
> isn't always feasable for windows-users.
>
> Any clues or hints appreciated
>
> Best regards,
> Thomas Weholt
>
>





More information about the Python-list mailing list