Keytool examples

This section describes keytool commands used to manage a keystore, and assumes that your keystore is located in m:\target1.4\Repository\Security\keystore.jks:

Notekeytool can read/manipulate PKCS12 type keystores (specify a -storetype pkcs12 in the command line), but cannot import it into another jks type keystore. jks is the default keystore type for keytool commands.