Where did this command come from, and what exactly are you trying to achieve?
You are mixing a bunch of commands into keytool that don't really belong together.
-genkey, -importcert and -storepasswd are all "commands" that tell keytool which operation you want it to do. You wouldn't normally mix them into 1 command line.
In your case specifically, because -storepasswd is a command that changes the password for an existing keystore, it requires that the keystore exist.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.