Specifications

DGS-3048 Layer 2 Switch CLI Reference Manual
153
crypto certificate
certificate.
Parameters
number — Specifies the certificate number. (Range: 1 - 2)
common- name — Specifies the fully qualified URL or IP address of the
device.
(Range: 1- 64)
organization-unit — Specifies the organization-unit or department name.
(Range: 1- 64)
organization — Specifies the organization name. (Range: 1- 64)
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: 1- 2)
Restrictions Only administrator-level users can issue this command.
Usage Example:
To generates and displays certificate requests for HTTPS.:
DGS3048# crypto certificate 1 request
-----BEGIN CERTIFICATE REQUEST-----
MIIBDTCBuAIBADBTMQswCQYDVQQGEwIgIDEKMAgGA1UECBMBIDEKMAgGA1UEBxM
B
IDEUMBIGA1UEAxMLMTAuNi4yMi4xMTQxCjAIBgNVBAoTASAxCjAIBgNVBAsTASAw
XDANBgkqhkiG9w0BAQEFAANLADBIAkEAw3odbbo5S4JPRz2QJKoEpTmve8WDdsm4
0nvmOpxqUDORl7TigrZfs3vGxg2Nar1RflQwKQxb7VetgxF8VeKmDQIDAQABoAAw
DQYJKoZIhvcNAQEEBQADQQB1owjB21fZvIYdBS1zJl/Hd6F2MhrzF35ULNgNHP0Z
pbtU7Y4HkyqsQzkCwDAzGD+y4YB/mu4jNxeq+Ik2UEYD
-----END CERTIFICATE REQUEST-----
Success.
DGS3048#
crypto certificate import
Purpose Used to imports a certificate signed by the Certification Authority for
HTTPS.
Syntax
crypto certificate <number 1-2> import
Description
Use this command to enter an external certificate (signed by Certification
Authority) to the device. To end the session, enter an empty line. The
imported certificate must be based on a certificate request created by the
crypto certificate request Privileged EXEC mode command. If the public
key found in the certificate does not match the device's SSL RSA key, the
command fails. This command is not saved in the device configuration;
however, the certificate imported by this command is saved in the private
configuration (which is never displayed to the user or backed up to another
device).
Parameters number — Specifies the certificate number. (Range: 1 - 2)
Restrictions Only administrator-level users can issue this command.