Been through some of the same pain. Quite seperately from using the SecureClient, you 
may want
to prime the java secure socket factory using the java security stuff, let me dig out 
some of
what I did...

        /// Not too sure what all of this is for.

        SSLContext context = SSLContext.getInstance( "TLS" );
        KeyManagerFactory keyFactory = KeyManagerFactory.getInstance( "SunX509" );
        KeyStore store = KeyStore.getInstance( "JKS" );
        store.load( new FileInputStream( keyFile ), passphrase );
        keyFactory.init( store, passphrase );
        context.init( keyFactory.getKeyManagers(), null, null );

        client = new SecureXmlRpcClient( "https://someurl..."; );
        ...

This didn't work for me, but I was trying to use PKCS12 keys with java 1.3 and for some
reason it NullPointerExceptioned deep in the native stuff. Might give you luck.
Cheers,
James.
-- 
4920616d206e6f742061206e756d62657221

Junk mail systematically deleted.

Reply via email to