Example java client and certificates