Hi

I am attempting to connect to a rcd process which listens on both a Unix
socket and an HTTPS tcp socket.  It provides xmlrpc methods.

I don't think that the current implementation of java xmlrpc can connect
to the Unix socket, so I need to connect to the https socket.

I am not sure of how SSL implementations in java work.  The rcd daemon
is using a self signed certificate for the socket.

How would I connect to this using java xmlrpc?

I have looked at a previous post which suggested:
----
SSLSocketFactory socketFactory = getSSLSocketFactory(
     keyStoreFilename, keyStorePassword);

HttpsURLConnection.setDefaultSSLSocketFactory(socketFactory);
     SecureXmlRpcClient client = new SecureXmlRpcClient(host, port);
----

However, I don't know where the keystore file is.  Do I even need a
keystore password if all I am doing is connecting as a client.  I don't
need to decrypt any keys etc.  In fact, I don't need to verify the
server key against a CA, as it is self signed.

Regards
Chris
-- 
Chris Picton <[EMAIL PROTECTED]>
Tangent Systems

Reply via email to