keytool -genkeypair
Generate a key pair
Options
Name | Description |
---|---|
-h, -?, --help, -help | Show help message |
-v | Verbose output |
-alias <alias> | Alias name of the entry to process |
-keystore <keystore> | Keystore name |
-storepass <arg> | Keystore password |
-storetype <type> | Keystore type |
-providername <name> | Provider name |
-addprovider <name> | Add security provider by name (e.g. SunPKCS11) |
-providerclass <class> | Add security provider by fully-qualified class name |
-providerarg <arg> | Configure argument for -addprovider or -providerclass |
-providerpath <list> | Provider classpath |
-protected | Password through protected mechanism |
-keyalg <alg> | Key algorithm name |
-keysize <size> | Key bit size |
-groupname <name> | Group name. For example, an Elliptic Curve name |
-sigalg <alg> | Signature algorithm name |
-destalias <alias> | Destination alias |
-dname <name> | Distinguished name |
-startdate <date> | Certificate validity start date/time |
-ext <value> | X.509 extension name |
-validity <days> | Validity number of days |
-keypass <arg> | Key password |