< Home

display pki current (user view)

Function

The display pki current command displays the CA certificate, CRL, local certificate file, or local request file in the device memory.

Format

display pki current { ca | crl | local [ certificate | request ] }

Parameters

Parameter Description Value
ca Indicates the CA certificate file. -
local certificate Indicates the local certificate file. -
local request Indicates the local request file. -
crl Indicates the CRL file. -

Views

User view

Default Level

3: Management level

Usage Guidelines

The display pki current command displays the CA certificate, CRL, local certificate file, or local request file in the device memory.

If a file contains multiple certificates, this command can display information about all the certificates in the file as long as one of the certificates is saved to memory.

Example

# Display the CA certificate.

<sysname> display pki current ca
=======================================                                         
CA:test_ca.cer                                                                  
    Subject: CN=AdminCA1, O=EJBCA Sample, C=SE                                  
=======================================                                         
                                                                                
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >