Apache XML-RPC help needed

M

milicic.marko

Hi,

I managed to establish unsecure communication with client/server using
apache.xmlrpc library. But I can't establish secure connection. I have
sertificates, and keystores, but... how should I setup SecureTool.

Please, can somebody be so kind and post here minimal working code of
secureClient and SecureServer communication.

This is how I'm trying to handle this task:
Server:
SecurityTool.setKeyStore("path_to_server_keystore");
SecurityTool.setKeyStorePassword("******");
secureWebServer = new SecureWebServer(443);
secureWebServer.start();
secureWebServer.addHandler("user", new UserHandler());



Client:
SecurityTool.setKeyStore("path_to_client_keystore");
SecurityTool.setKeyStorePassword("collectit");
secureXmlRpcClient = new
SecureXmlRpcClient("https://localhost:443/");




I believe this is not enough. So, please, post your working code.
 

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,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top