< Home

display pki cert-req

Function

The display pki cert-req command displays the content of a certificate request file.

Format

display pki cert-req filename file-name

Parameters

Parameter Description Value
filename file-name Specifies the name of a certificate request file. The certificate request file name must already exist.

Views

All views

Default Level

3: Management level

Usage Guidelines

This command displays content of a certificate request file, including the subject, public key algorithm, key modulus, attributes, and signature algorithm.

Example

# Display the content of a certificate request file named test.req.

<HUAWEI> display pki cert-req filename test.req
Certificate Request:
    Data:
        Version: 0 (0x0)
        Subject: C=CN, ST=Jiangsu, L=Beijing, O=org1, OU=Group1,Sale, CN=huawei
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:c4:01:cf:95:bb:fb:35:f0:3e:cd:1d:10:9e:11:
                    08:2e:77:48:ba:1b:e6:00:1b:43:30:56:f9:9a:6b:
                    ed:8b:fe:3e:03:57:38:02:48:88:e3:9b:39:d0:1c:
                    2b:8f:6a:9b:91:17:9b:ce:cb:fc:87:40:78:39:08:
                    1c:53:c3:71:cc:db:64:6f:ec:5a:cd:33:a5:68:5e:
                    e6:52:61:ad:a1:58:55:f0:a0:0f:db:ab:05:eb:a4:
                    fe:e1:68:61:8c:af:2c:3a:34:95:d2:41:ee:09:e7:
                    b0:fc:59:d9:f4:12:00:de:ab:14:b6:a3:fe:29:75:
                    f7:dd:7b:aa:03:81:fc:ae:41:8c:e4:ad:e3:d9:65:
                    d4:be:a0:c1:e0:43:8a:91:ad:20:7b:6f:12:25:6e:
                    0d:67:7d:4c:fe:8d:1b:6d:f3:96:07:31:ed:73:d3:
                    71:6b:51:18:64:bd:41:d6:18:2d:2d:86:b7:fa:26:
                    eb:cc:cb:a3:0f:0b:61:22:fd:dd:5f:b4:4d:9b:7d:
                    bc:fa:af:e6:95:d7:27:f1:60:31:56:83:58:2c:40:
                    1a:5e:6a:94:63:aa:70:2f:9b:00:e0:a3:9e:fb:73:
                    62:5e:1c:3c:5f:48:42:7c:26:8f:5f:cf:39:b9:5d:
                    25:90:8e:6c:e0:04:ec:e2:1b:1f:a8:0d:d2:ef:20:
                    41:79
                Exponent: 65537 (0x10001)
        Attributes:
            challengePassword        :******
        Requested Extensions:
            X509v3 Subject Alternative Name:
                IP Address:10.1.1.1, DNS:example.com, email:test@example.com
    Signature Algorithm: sha256WithRSAEncryption
         71:e7:c0:5f:36:c9:16:eb:fc:0c:8e:d1:4f:3d:ee:25:6b:47:
         65:86:4b:89:ec:22:01:42:a5:0e:5c:aa:01:0a:57:a9:25:ba:
         1b:59:6d:77:5f:74:80:3b:af:f9:37:75:97:9a:ca:80:73:8b:
         36:14:2c:4b:9a:2f:53:5c:5b:4a:93:31:88:94:0f:4d:58:84:
         36:41:e8:a8:6c:cd:f0:bb:9f:51:50:b2:a4:40:f4:ec:37:c5:
         42:08:69:b5:c5:fd:af:3d:8a:aa:47:53:d3:ce:bc:76:ec:47:
         ca:36:90:0b:49:2b:2f:04:c4:1f:f1:12:b6:99:d0:f8:33:d8:
         08:d0:32:ac:ee:34:0f:07:ef:72:9f:6b:71:80:3e:8d:37:cc:
         ca:b5:c1:56:3d:65:c7:e6:99:1b:2b:53:01:69:f5:8a:18:05:
         d1:b1:48:3e:50:e0:4c:7f:db:dc:b7:cd:a2:37:f9:96:cd:0d:
         ee:61:c2:80:61:6b:99:c0:76:0d:ab:2c:46:ce:b7:aa:6a:12:
         72:b7:6f:64:cc:78:b7:16:bd:c5:32:45:79:42:cf:4c:28:91:
         ce:cd:7d:da:eb:2b:3a:cf:90:1f:61:5e:02:25:fe:3c:82:66:
         d4:e8:c7:f8:5e:84:2c:f6:b2:f0:ba:ee:7a:c1:9b:d4:68:02:
         a4:e3:27:89
Table 1 Description of the display pki cert-req command output
Item
Description
Certificate Request Information about a certificate request file.
Data Data of a certificate request file.
Version Version of a certificate request file.
Subject

Subject of a certificate request file. The subject includes the following attributes:

  • C: country code of a PKI entity. It is configured using the country command.

  • ST: name of the state or province to which a PKI entity belongs. It is configured using the state command.

  • L: geographic area where a PKI entity is located. It is configured using the locality command.

  • O: organization to which a PKI entity belongs. It is configured using the organization command.

  • OU: department to which a PKI entity belongs. It is configured using the organization-unit command.

  • CN: common name of a PKI entity. It is configured using the common-name command.

Subject Public Key Info Information about the subject public key of a certificate request file.
Public Key Algorithm Public key algorithm.
Public-Key RSA public key. It is configured using the rsa local-key-pair command.
Modulus Key modulus.
Exponent Key exponent.
Attributes Attributes of a certificate request file.
challengePassword The challenge password used in certificate application. It is configured using the pki enroll-certificate command.
Requested Extensions

Certificate request extension.

X509v3 Subject Alternative Name

Alternative name of the X.509v3 subject.

IP Address

IP address of a PKI entity. It is configured using the ip-address command.

DNS

DNS name of a PKI entity. It is configured using the fqdn command.

email

Email address of a PKI entity. It is configured using the email command.

Signature Algorithm Signature algorithm. It is configured using the enrollment-request signature message-digest-method command.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >