keytool:generateKeyPair
Full name:
org.codehaus.mojo:keytool-maven-plugin:2.0.2:generateKeyPair
Description:
To generate a key pair into a keystore. Uses Bouncy Castle for certificate generation.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
1.0.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<alias> |
String |
- |
No description. |
<dname> |
String |
- |
No description. |
<exts> |
List<String> |
- |
No description. |
<keyalg> |
String |
- |
No description. Default: RSA |
<keypass> |
String |
- |
No description. |
<keysize> |
String |
- |
No description. Default: 2048 |
<keystore> |
File |
- |
No description. |
<sigalg> |
String |
- |
No description. |
<skip> |
boolean |
1.1 |
Set to true to disable the plugin.Default: false |
<storepass> |
String |
- |
No description. |
<storetype> |
String |
- |
No description. |
<validity> |
String |
- |
No description. Default: 90 |
<verbose> |
boolean |
- |
Enable verbose mode (in mojo and in keytool command). See keytool options. Default: false |
Parameter Details
<alias>
No description.
- Type:
java.lang.String - Required:
No
<dname>
No description.
- Type:
java.lang.String - Required:
No
<exts>
No description.
- Type:
java.util.List<java.lang.String> - Required:
No
<keyalg>
No description.
- Type:
java.lang.String - Required:
No - Default:
RSA
<keypass>
No description.
- Type:
java.lang.String - Required:
No
<keysize>
No description.
- Type:
java.lang.String - Required:
No - Default:
2048
<keystore>
No description.
- Type:
java.io.File - Required:
No
<sigalg>
No description.
- Type:
java.lang.String - Required:
No
<skip>
Set to
true to disable the plugin.- Type:
boolean - Since:
1.1 - Required:
No - Default:
false
<storepass>
No description.
- Type:
java.lang.String - Required:
No
<storetype>
No description.
- Type:
java.lang.String - Required:
No
<validity>
No description.
- Type:
java.lang.String - Required:
No - Default:
90
<verbose>
Enable verbose mode (in mojo and in keytool command). See keytool options.
- Type:
boolean - Required:
No - Default:
false

