beautypg.com

Delete pki certificate – Allied Telesis AT-S62 User Manual

Page 523

background image

AT-S62 Command Line User’s Guide

523

DELETE PKI CERTIFICATE

Syntax

delete pki certificate=”name

Parameter

certificate

Specifies the name of the certificate you want to
delete from the certificate database. The name is
case sensitive. If the name contains spaces, it must
be enclosed in double quotes. Wildcards are not
allowed.

Description

This command deletes a certificate from the switch’s certificate
database. To view the certificates in the database, refer to SHOW PKI
CERTIFICATE on page 530.

Deleting a certificate from the database does not delete it from the file
system. To delete a file from the file system, refer to DELETE FILE on page
230.

You cannot delete a certificate from the database if you specified its
corresponding encryption key as the active key in the web server
configuration. The switch will consider the certificate as in use and will
not allow you to delete it. You must first configure the web server with
another encryption key pair for a different certificate.

Example

The following command deletes the certificate “Switch 12 certificate”
from the certificate database:

delete pki certificate=”Switch 12 certificate”