pki validate-certificate

Syntax

pki validate-certificate { ca | local } domain domain-name

View

System view

Default level

2: System level

Parameters

ca: Verifies the CA certificate.

local: Verifies the local certificate.

domain-name: Name of the PKI domain to which the certificate to be verified belongs, a string of 1 to 15 characters.

Description

Use pki validate-certificate to examine the validity of a certificate.

Certificate validity verification examines whether the certificate is signed by the CA and that the certificate has neither expired nor been revoked.

Related commands: pki domain.

Examples

# Verify the validity of the local certificate.

<Sysname> system-view
[Sysname] pki validate-certificate local domain 1