...
<keytool> is:
- for Windows command prompt
"%JAVA_HOME%\bin\keytool.exe"
- for Windows PowerShell
&"$env:JAVA_HOME\bin\keytool.exe"
- for Linux
$JAVA_HOME/bin/keytool
- for Windows command prompt
<keyAlias>
is the alias for the username, for examplepdbdev
.<pathToKeystoreFile>
is the full path to the keystore file, for exampleC:\secure\hidden.jks
.- <keytype> is either PKCS12 or JKS, JCEKS,, PKCS11 and DKSJCEKS.
Examples
Windows:
Code Block |
---|
"%JAVA_HOME%\bin\keytool" -importpass -alias pdbdev -keystore C:\secure\hidden.jks -storetype PKCS12 |
...