code: public void store(Path path, String keyStorePassword) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
  		OutputStream os = this.fs.create(path, true);
  		this.keystore.store(os,keyStorePassword.toCharArray());
  		if (os!=null) {
  			os.close();
  		}
  	}
docs: *
  Stores the keystore onto HDFS. Overwrites existing one.
  
  
  @param path
  @param keyStorePassword
  @throws KeyStoreException
  @throws NoSuchAlgorithmException
  @throws CertificateException
  @throws IOException