DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 
170 
crypto certificate (import) 
Purpose  To import a certificate signed by the Certification Authority for 
HTTPS. 
Syntax 
crypto certificate <number 1-2> import 
Description The crypto certificate (import) command imports an external 
certificate (signed by a Certification Authority) to the device. To end 
the session, add a period (.) on a separate line after the input. The 
imported certificate must be based on a certificate request created 
by the crypto certificate request. 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 or operator-level users can issue this command. 
Example usage: 
To import a certificate signed by the Certification Authority for HTTPS: 
 
DGS3100# crypto certificate 1 import 
Please paste the input now, add a period (.) on a separate line after the input,
 and press Enter. 
-----BEGIN CERTIFICATE----- 
MIIFXTCCBEWgAwIBAgIKFWx9ZgACAAAAMDANBgkqh 
CZImiZPyLGQBGRYDTkVUMRIwEAYKCZImiZPyLGQBGRY 
xcNoBlJIFr8H/nMiL/Aa86nhnevaq49df/cIt6XDHeRVINC 
767yZ3IyB8U3hzUxVOjfACNcQR0GuwNt1i58qbCGuhE 
eaft/2OmvJezNF5oDgYgblnIotyikUgNXzFeTecebzu161 
scXl7iqyF1tdMQKG0/LZ3rn2Su5Sx2dycg5lt9Lsib+Ej2fj 
UKOlzyLRkan3m1WGGJEmcv4JK0WaJLzfyW4iDiYtrryN 
-----END CERTIFICATE----- 
. 
Certificate imported successfully 
 Issued by : DC=, DC=, CN= 
 Valid From: Jan 24 14:42:10 2008 GMT 
 Valid to: Jan 24 14:52:10 2009 GMT 
 Subject: C=  , ST= , L= , O= , OU= , CN= 
 SHA1 Fingerprint: E7495984 30BDFFA6 D133E7B6 4AA7A608 CE017347 
 
 
Success. 
DGS3100# 
 
 
config ssl certificate 
Purpose  To configure the active certificate for HTTPS.