Administrator Guide
176 | REST API CLI
www.dell.com | support.dell.com
crypto cert generate
Z
S5000 Generate a self-signed certificate and key files, if already exists, and replace them
with the newly generated files.
Syntax
crypto cert generate {cert-file file-name key-file file-name} [cname
common-name] [country country-name] [email email-id] [length key-length]
[locality locality-name] [organization organization-name] [orgunit
organization-unit-name] [state state-name] [validity days]
Command Modes
EXEC
Parameters
Command
History
cert-file file-name Enter the keyword cert-file then the filename of the certificate to be
generated with full path.
key-file file-name Enter the keyword key-file then the key filename to be generated
with full path.
cname common-name (OPTIONAL) Enter the keyword cname then the common name to
be included in the certificate. The default is Dell Networking.
country country-name (OPTIONAL) Enter the keyword country then the name of the
country to be included in the certificate. The maximum number of
characters allowed is two. The default is US.
email email-id (OPTIONAL) Enter the keyword email then the email-id to be
included in the certificate.
length key-length (OPTIONAL) Enter the keyword length then the key length in bits.
The key length range is from 1024 to 4096 bits. The default is 2048
bits.
locality locality-name (OPTIONAL) Enter the keyword locality then the name of the
locality to be included in the certificate. The default is San Jose.
organization
organization-name
(OPTIONAL) Enter the keyword organization then the name of
the organization to be included in the certificate. The default is Dell.
orgunit
organization-unit-name
(OPTIONAL) Enter the keyword orgunit then the organization unit
name to be included in the certificate. The default is Dell
Networking.
state state-name (OPTIONAL) Enter the keyword state then the name of the state to
be included in the certificate. The default is California.
validity days (OPTIONAL) Enter the keyword validity then the number of days
the certificate is valid. The validity range is from 1 to 10000 days.
The default value is 3650 days (10 years).
Version 9.6(0.0) Introduced on the S-Series and Z-Series switches.