Trying to use a certificate with the SecureXmlRpcClient/SecurityTool combination.
I have a protocol "TLS", a KeyManager "SunX509", a KeyStore "PKCS12". I also have
a certificate and a passphrase. Now the problem I have is I'm not too sure how
to feed all of this to SecurityTool.
I imagine some of it looks a little like this:
SecurityTool.setKeyStoreType( "PKCS12" );
SecurityTool.setSecurityProtocol( "TLS" );
SecurityTool.setup();
But I'm not sure where to put the certificate file and the passphrase.
Any help appreciated. Would also like to know if it's actually possible to do this.
Cheers,
James.
--
4920616d206e6f742061206e756d62657221
Junk mail systematically deleted.