display pki certificate filename

Function

The display pki certificate command displays the content of the specified certificate.

Format

display pki certificate filename file-name

Parameters

Parameter Description Value
filename file-name

Indicates the name of the certificate file.

It is a string of 1 to 63 characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
pki read

Usage Guidelines

Usage Scenario

The display pki certificate command is used to view the contents of a particular certificate imported by the user.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the content of certificate file ca.cer.
<HUAWEI> display pki certificate filename ca.cer
Certificate: 
    Data: 
        Version: 3 (0x2)
        Serial Number:
            9
        Signature Algorithm: SHA256WITHRSAENCRYPTION
        Issuer: CN=abc ,O=In,C=Huawei
        Validity
            Not Before: Jun  21  15:24:46 2014 GMT
            Not After : Jun  21  15:24:46 2015 GMT
        Subject: CN=pkiram ,O=HTIPL,C=In
        Subject Public Key Info:
            Public Key Algorithm: RSA Algorithm
            RSA Public Key: (512 bit)
                Modulus (512 bit):
                    fb:d2:64:5d:41:a5:ec:96:d7:d0:e6:a1:10:31:93:
                    7d:3e:33:d4:20:33:84:12:b7:d4:6b:ea:a:4a:67:
                    cb:9d:2:d0:8:2:9:1d:8a:a4:63:f4:8e:17:ce:
                    19:d0:a7:fa:b8:d9:70:2a:7a:6f:2f:59:32:26:97:
                    5d:78:f8:6f
                Exponent:  257  (0x101)
         X509v3 extensions:
                X509v3 Basic Constraints: non-critical
                CA : false
                X509v3 Key Usage: 
                
                X509v3 Extended Key Usage: 
                            
         X509v3 Subject Key Identifier:
           9A:61:CA:06:4B:E2:8C:30:E9:4F:3D:11:16:E5:42:FE:EC:AB:89:F1
    Signature Algorithm: SHA256WITHRSAENCRYPTION
        a:f:bb:9:2f:1a:ac:c8:69:7b:36:6e:b0:4b:8d:f:d0:a0:
        c2:8a:d4:d6:11:ac:1:69:40:75:d1:99:28:62:a4:22:bf:9a:
        4e:38:25:40:b4:5f:8c:4e:ef:1b:7c:85:1a:c5:72:ac:ba:d2:
        14:26:bf:34:21:1e:15:39:8f:1e:d1:47:64:74:c3:e6:6d:ae:
        c:f5:d9:4:7:4d:17:22:11:87:28:22:a4:5c:d5:b8:dd:68:
        75:e0:4c:16:5e:51:14:17:4c:1b:38:26:3e:b1:fb:cf:39:4f:
        56:8a:ad:3f:7c:c9:32:a9:ae:25:f7:c2:31:49:53:ee:53:59:
        9c:92
Table 1 Description of the display pki certificate filename command output
Item Description
Serial Number

Indicates the serial number of the certificate.

Signature Algorithm

Indicates the signature algorithm of the certificate.

Validity

Indicates the validity period of the certificate.

Subject

Indicates the subject of the certificate.

Subject Public Key Info

Indicates the information about the public key of the certificate.

Public Key Algorithm

Indicates the algorithm of the public key.

RSA Public Key

Indicates the RSA public key.

Modulus

Indicates the key modulus.

X509v3 extensions

Indicates the X.509v3 certificate extensions.

X509v3 Basic Constraints

Indicates basic constraints.

X509v3 Key Usage

Indicates the key usage.

X509v3 Extended Key Usage

Indicates the purpose of the public key contained in the certificate.

X509v3 Subject Key Identifier

Key Identifier.

Certificate

Indicates the information of the certificate.

Data

Indicates the data of the certificate.

Version

Indicates the version of the certificate.

Issuer

Indicates the issuer of the certificate.

Exponent

Indicates the key exponent.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >