RSA and Certificate Commands
crypto certificate generate
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
The crypto certificate generate Global Configuration mode command generates a
self-signed HTTPS certificate.
Syntax
number
crypto certificate [
organization-unit
[ou
] [or
days
]
Parameters
•
number
— Specifies the certificate number. (Range: 1-2)
•
key-generate — Regenerate the SSL RSA key.
•
length
— Specifies the SSL RSA key length. (Range: 512-2048)
•
common- name
device. (Range: 1-64)
•
organization-unit —
name.(Range: 1-64)
•
organization —
•
location
— Specifies the location or city name. (Range: 1-64)
•
state
— Specifies the state or province name. (Range: 1-64)
•
country
— Specifies the country name. (Range: 2-2)
•
days
— Specifies number of days certification is valid. (Range: 30-3650)
] generate [key-generate
organization
location
] [loc
— Specifies the fully qualified URL or IP address of the
Specifies the organization-unit or department
Specifies the organization name. (Range: 1-64)
27
length
common- name
] [cn
state
country
] [st
] [cu
]
] [duration
361