cmp request ca-name

Function

The cmp request ca-name command configures a CA name for a CMP session.

The undo cmp request ca-name command cancels the configuration.

By default, no CA name is configured for a CMP session.

Format

cmp request ca-name ca-name

undo cmp request ca-name

Parameters

Parameter Description Value
ca-name

Specifies a CA name.

The value is a string of 1 to 255 characters. The user-defined content is case sensitive, and other content must be uppercase. The string must be enclosed in quotation marks and use the slash (/) as the start mark. In addition, each item of the character string is separated by a slash (/).

The CA name is in the format of /C=XXX/ST=XXX/L=XXX/O=XXX/OU=XXX/CN=XXX, where XXX is user-defined content. The CN field is mandatory, and other fields are optional. The field sequence must meet the format requirements. Meaning of the fields in the CA name is as follows:

  • C: country name (2 bytes)
  • ST: name of a province or state (128 bytes)
  • L: area name (128 bytes)
  • O: organization name (64 bytes)
  • OU: organization unit name (64 bytes)
  • CN: entity identifier (64 bytes)

Views

PKI CMP session view, VS PKI CMP session view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pki write

Usage Guidelines

Usage Scenario

When applying for a certificate, you need to specify the name of CA server.

Configuration Impact

After a certificate is obtained successfully, the CA name is the main field of a CA certificate.

Only one CA name can be specified for each CMP session.

Example

# Configure a CA name for CMP session session1.
<HUAWEI> system-view
[~HUAWEI] pki domain domain1
[*HUAWEI-pki-domain-domain1] pki cmp session session1
[*HUAWEI-pki-domain-domain1-pki-cmp-session-session1] cmp request ca-name "/C=cn/ST=beijing/L=shangdi/O=BB/OU=BB/CN=BB"
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >