Syntax for the CLI command rsa
New command with version: 11.8.10
This article refers to a Resellerpreview
Command | Description | Example |
---|---|---|
rsa getrsa get |
Lists the stored RSA keys | cli> rsa get id |name|hash |bits|keytype|flags ---+----+------------+----+-------+----- 191|key1|CA171F902A9F|3072|RSA |PRIVATE 192|key2|BA360606313E|4096|RSA |PRIVATE |
rsa newrsa new |
Creates a new RSA key pair | cli> rsa new name "key" bits "3072" id |name|hash |bits|keytype|flags ---+----+------------+----+-------+----- 191|key |BA592021253B|3072|RSA |PRIVATE |
rsa deletersa delete |
Deletes an RSA key pair | cli> rsa delete id "191" |
rsa importrsa import |
Imports RSA keys | cli> rsa import name "key" format "HEX" value 0x03010001c9ed4ea5.....ee71e3 |
rsa exportrsa export |
Exports RSA keys | cli> rsa export id "191" format "PEM" |