pki validate-certificate filename

Function

The pki validate-certificate command verifies the validity of the certificate.

Format

pki validate-certificate { ca | local | peer } { domain domainName | filename file-name }

Parameters

Parameter Description Value
ca

Verifies the validity of the CA certificate.

-

local

Verifies the validity of the local certificate.

-

peer

Verifies the validity of the remote certificate.

-

domain domainName

PKI Domain Name.

The value is a string of 1 to 31 characters.

filename file-name

Indicates the file name of the CA certificate or local certificate.

The value is a string of 1 to 63 case-sensitive characters.

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
pki debug

Usage Guidelines

Usage Scenario

To verify the validity of the certificate in real time, run pki validate-certificate command to manually verify the validity of the certificate.

Example

# Verify the validity of the local certificate local.cer.
<HUAWEI> system-view
[~HUAWEI] pki validate-certificate local filename local.cer
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >