Thanks for your time. I'm trying to create a java keystore from a PKCS12 file.
This has worked before, but I've done some work to remove password visibility from the command line, using the command
keytool -importkeystore -deststorepass:file ...
-storepass[:env|:file] argument Note: All other options that require passwords, such as -keypass, -srckeypass, -destkeypass -srcstorepass, and -deststorepass, accept the env and file modifiers. (Remember to separate the password option and the modifier with a colon, (:).)
Illegal option: -deststorepass:file
I had set the java version to 1.7, but neglected to also set the keytool to the appropriate version.
update-alternatives --set keytool [path]