generates a 1024-bit Digital Signature Algorithm (DSA) key pair. : Keytool « Security « Java Tutorial






keytool -genkey -alias alias -keystore .keystore








36.24.Keytool
36.24.1.Creating a New Key Pair and Self-Signed Certificate Using keytool
36.24.2.generates a 1024-bit Digital Signature Algorithm (DSA) key pair.
36.24.3.To create a 1024-bit RSA key:
36.24.4.Export certificate in binary using keytool, if the certificate is in the key store
36.24.5.Export certificate in text format using keytool, if the certificate is in the key store
36.24.6.using keytool to import a certificate into a keystore