ssl-rsakey¶
The following operations can be performed on "ssl-rsakey":
create ssl rsakey¶
Generates an RSA key.
Synopsis¶
create ssl rsakey <keyFile> <bits> [-exponent ( 3 | F4 )] [-keyform ( DER | PEM )] [-des | -des3 | -aes256] {-password } [-pkcs8]
Arguments¶
keyFile
Name for and, optionally, path to the RSA key file. /nsconfig/ssl/ is the default path. Maximum value: 63
bits
Size, in bits, of the RSA key. 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.
Possible values: 3, F4 Default value: F4
keyform
Format in which the RSA key file is stored on the appliance.
Possible values: DER, PEM Default value: PEM
des
Encrypt the generated RSA key by using the DES algorithm. On the command 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 command 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. Maximum value: 31
pkcs8
Create the private key in PKCS#8 format.
Example¶
create ssl rsakey /nsconfig/ssl/rsa1024.pem 1024 -exp F4