I am trying to connect to a webservice over ssl with a client certificate. Is there an elegant way of doing this apart from shoving things like \"javax.net.ssl.keyStore\" in
Not sure if this is fully relevant, but still. This entry describes the way of generating the certificate and installing it on a local system without using the keytool. Probably you could reuse some parts of the (very simple) source code.