Keystore¶
Create Keystore¶
The creation of the KeyStore is done with the original Oracle JAVA tool KeyTool, which is supplied with JAVA.
- The argument
-genkey
is used for key generation. -alias
names the key.-keystore
names the key file. If the argument is missing, the new key is added to the default keystore.-keyalg
determines the algorithm.-keysize
determines the key length in bits.- Validity determines the validity of the key in days.
Display content of the keystore¶
With the tool keytool
you can also display the content of a keystore:
More links for further reading¶
A good description of how to create the keystore can be found here: Create Keystore