Home > Configuration > SSL > createsslrsakey

createsslrsakey

Use this method to generates an RSA key.

Syntax



Parameters

keyfile

Name for and, optionally, path to the RSA key file. /nsconfig/ssl/ is the default path.
This is mandatory parameter.

bits

Size, in bits, of the RSA key.
This is mandatory parameter.
Minimum value = 512.
Maximum value = 4096.

exponent

Public exponent for the RSA key. The exponent is part of the cipher algorithm and is required for creating the RSA key.
Default value = FIPSEXP_F4.

keyform

Format in which the RSA key file is stored on the appliance.
Default value = FORMAT_PEM.

des

Encrypt the generated RSA key by using the DES algorithm. On the method line, you are prompted to enter the pass phrase (password) that is used to encrypt the key.

des3

Encrypt the generated RSA key by using the Triple-DES algorithm. On the method line, you are prompted to enter the pass phrase (password) that is used to encrypt the key.

aes256

Encrypt the generated RSA key by using the AES algorithm.

password

Pass phrase to use for encryption if DES or DES3 option is selected.

pkcs8

Create the private key in PKCS#8 format.

Return Value

Returns simpleResult

See Also