pki domain

Function

The pki domain command creates a PKI domain and displays the PKI domain name configuration view.

The undo pki domain command deletes the PKI domain.

By default, no PKI domain is created.

Format

pki domain domain-name

undo pki domain domain-name

Parameters

Parameter Description Value
domain-name

Indicates the name of the PKI domain.

It is a string of 1 to 31 case sensitive characters.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pki write

Usage Guidelines

Usage Scenario

Before you apply for a certificate, run the pki domain command to create a PKI domain.

Modifying the domain configuration may end the certificate request task and cause a certificate obtain failure.

Example

# Create PKI domain domain1, and display the PKI domain name configuration view.
<HUAWEI> system-view
[~HUAWEI] pki domain domain1
[*HUAWEI-pki-domain-domain1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >