Fixed setup of the Java KeyStore.