D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
18
1
Syntax
config ssl certificate <number 1-2>
Description The config ssl certificate command activates SSL certificate.
Parameters number — Specifies the certificate number (Range: 1 - 2).
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure the active certificate for SSL:
DGS3100# config ssl certificate 1
Success.
DGS3100#
show crypto certificate mycertificate
Purpose To display the SSH certificates of the device.
Syntax
show crypto certificate mycertificate {number 1-2}
Description The show crypto certificate mycertificate command displays the
SSL certificate of the device.
Parameters number — Specifies the certificate number (Range: 1 - 2).
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To show crypto certificate mycertificate:
DGS3100# show crypto certificate mycertificate
-----BEGIN CERTIFICATE-----
MIIBkDCCAToCAQAwDQYJKoZIhvcNAQEEBQAwUzELMAkGA1UEBhMCICAxCjAIBgNV
BAgTASAxCjAIBgNVBAcTASAxFDASBgNVBAMTCzEwLjYuMjIuMTExMQowCAYDVQQK
EwEgMQowCAYDVQQLEwEgMB4XDTA1MDEwMzAyMzM1NFoXDTA2MDEwMzAyMzM1NFow
UzELMAkGA1UEBhMCICAxCjAIBgNVBAgTASAxCjAIBgNVBAcTASAxFDASBgNVBAMT
CzEwLjYuMjIuMTExMQowCAYDVQQKEwEgMQowCAYDVQQLEwEgMFwwDQYJKoZIhvcN
AQEBBQADSwAwSAJBAMcIwCcmDHypkoWE3eUFsw0xWnQ+0kkve9kRo/kElIRsk8jw
FDPMPPelG4VkUuHMSAYZSigDLnvqR4bTeNVq9M8CAwEAATANBgkqhkiG9w0BAQQF
AANBAJNZOGD4J9+XTVPbN9wQK2uRI6SwngGkyXS1uD6QzqhaJBe09/dqZAfsc86W
Rq7K3jFZKfx3BkH7NPIqBO6PHaQ=
-----END CERTIFICATE-----
Issued by : C= , ST= , L= , CN=10.6.22.111, O= , OU=
Valid From: Jan 3 02:33:54 2005 GMT
Valid to: Jan 3 02:33:54 2006 GMT
Subject: C= , ST= , L= , CN=10.6.22.111, O= , OU=
SHA1 Fingerprint: 99A1052E E4C9DA24 2F9E2BB8 0968364E 387C6628
DGS3100#