I found very nice, simple and easy-to-use tool Portecle, the GUI application helping with keystore management. To provide additional deploy option I created a package, containing a single-file executable with simple download page – see Portecle Pack. I decided so because the only option to launch the original application is via webstart, or to download a zip, which actually doesn’t contain any launcher. Just .jar file. Moreover, the project page is not clear. Simply stated, I missed the big download button at the top of the page… So here is it.

Share this:

Like this:

I thought that customizing web service on https server (packed with JRE) and its client should be easy. But the lack of documentation make it quiet hard. Here are results of my findings. The topics covered are: Two-way SSL communication, custom SSLContext for webservice running on Java SDK embedded https server, dummy TrustManager, client certificate authentication. I’ll cover both the server and client side.

Suppose, you have created 2 certifikate keystore files, let’s say server.jks (containing server private key and client public certificate) and client.jks (symmetrically, the client private key and server public certificate).