|
security.keystore-create-key
|
| |
|
description
Generates private and public keys in a keystore.
privilege-required
root
tx-support
false
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| serial-number |
integer |
none |
true |
The serial number of the certificate generated for signature verification. |
| keystore |
string |
none |
true |
the name of the keystore, as defined in the server configuration. |
| alias |
string |
none |
true |
The alias of the key, used in the keystore. |
| password |
string |
none |
true |
The password used to protect the key in the keystore. |
| validity-duration |
integer |
none |
false |
The duration of the key validity. The value is a number of days. |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Store not found. |
| 2 |
Alias already in use. |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="security.keystore-create-key" alias="thealias" password="mygoodpassword"
keystore="keystorename" validity-duration="256"/>
|
|