Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • <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 
  • <keyAlias> is the alias for the username, for example pdbdev
  • <pathToKeystoreFile> is the full path to the keystore file, for example C:\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

...