XMLRPC and SSL

C

Chaz Ginger

I have a web service that I built and it requires using SSL. I have
found a few examples of clients using SSL but none that allow me to
change the client's certificate or the chain of certificates the client
will use to authenticate the server.

I was wondering if anyone knows of a good example of this?

TIA,
Chaz.
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Chaz said:
I have a web service that I built and it requires using SSL. I have
found a few examples of clients using SSL but none that allow me to
change the client's certificate or the chain of certificates the client
will use to authenticate the server.

I was wondering if anyone knows of a good example of this?

I don't have an example, but I think you should create a ServerProxy,
passing explicitly a SafeTransport subclass as the transport= argument.
That subclass should override get_host_info, and return the x509
parameters to be passed to httplib.HTTPSConnection (i.e. keyfile=
and cert_file=).

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top