Sorry about the reply order. The correct sentence is :
"I think i did encrypt communications" , using SSL and the tools provided
with the xmlrpc classes.
The client parameters are a bit more complicated. I'll post the code on this
ml if you're interrested.
Nicolas Hoibian
2005/9/21, Nicolas Hoibian <nicolas.hoibian@gmail.com>:
>
>
> 2005/9/21, Tino Wildenhain <tino@wildenhain.de>:
> >
> > Starsscream Desepticon schrieb:
> > > Hello
> > >
> > > How do you encrypt XmlRpc messages? I've had a look at
> > > Xml Security, but it is for encrypting/signing Xml
> > > messages (documents). When using XmlRpc I don't touch
> > > Xml directly. So is there a way of making my XmlRpc
> > > methods save?
> >
> > XMLRPC works over HTTP, so you usually just encrypt the
> > transport channel, meaning you use https (ssl).
> >
> > HTH
> > Tino
> >
>
> I think i did so, using the Security Tool provided with xmlrpc and some
> black magic java keystore
> //code in main :
> SecurityTool.setKeyStore("keystoreFile");
> SecurityTool.setTrustStore("keystoreFile");
> SecurityTool.setKeyStorePassword("keystorePassword");
> SecurityTool.setTrustStorePassword("keystorePassword");
>
> server = new SecureWebServer(port);
> server.addHandler("$default", handler);
> server.start();
> //code end
>
> correct me if i m wrong, please.
>
> Nicolas Hoibian
>
>
>
|