How to import an existing X.509 certificate and private key in Java keystore to use in SSL? How to import an existing X.509 certificate and private key in Java keystore to use in SSL? java java