< Home

pki delete-crl

Function

The pki delete-crl command deletes a CRL from the memory.

Format

pki delete-crl { realm realm-name | filename file-name }

Parameters

Parameter

Description

Value

realm realm-name

Specifies the name of the PKI realm that the certificate belongs to.

The value must be an existing PKI realm name.

filename file-name

Specifies the name of a CRL file.

The value must be an existing CRL file name.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When a CRL expires, run this command to delete a CRL file from the memory. This command will not delete the CRL files in storage card.

Prerequisites

A PKI realm has been created using the pki realm (system view) command or a CRL file exists in the memory. To check whether a CRL file exists, run the display pki crl (all views) command.

Example

# Delete the CRL of PKI realm abc from the memory.

<sysname> system-view
[sysname] pki realm abc
[sysname-pki-realm-abc] quit
[sysname] pki delete-crl realm abc
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >