Owners manual
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
529
58. Secure Sockets Layer (SSL) Commands
58-1 no certificate
This command is used to delete the imported certificate.
no certificate NAME
Parameters
NAME
Specifies the name of the certificate to be deleted.
Default
None.
Command Mode
Certificate Chain Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use the show crypto pki trustpoints command to get a name list of imported certificates. Then, use this
command to delete the imported certificates of a trust point. If the specified certificate is a local certificate,
the corresponding private key will be deleted at the same time. A warning message will be displayed
when a private key is to be deleted.
Example
This example shows how to delete an imported certificate named tongken.ca of the trust point gaa.
Switch# show crypto pki trustpoints
Trustpoint Name : gaa (primary)
Imported certificates:
CA : tongken.ca
local certificate : webserver.crt
local private key : webserver.prv
Switch# configure terminal
Switch(config)# crypto pki certificate chain gaa
Switch(config-cert-chain)# no certificate tongken.ca
Switch(config-cert-chain)#
58-2 crypto pki import pem
This command is used to import the CA certificate or the Switch certificate and keys to a trust-point from
privacy-enhanced mail (PEM)-formatted files.
crypto pki import TRUSTPOINT pem FILE-SYSTEM:/[DIRECTORY/]FILE-NAME [password
PASSWORD-PHRASE] {ca | local | both}