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
You could just install the cert into the system keystore. (Location varies across platforms, and you will need admin rights).