pki entity

Function

The pki entity command creates a PKI entity and displays the PKI entity view.

The undo pki entity command deletes the PKI entity.

By default, no PKI entity is created.

Format

pki entity entity-name

undo pki entity entity-name

Parameters

Parameter Description Value
entity-name

Indicates the name of the PKI entity.

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 entity command to create a PKI entity.

When applying for certificates, an entity must add entity information to a certificate request file and send the file to the Certificate Authority (CA). The CA uses a piece of important information to describe an entity, and identifies the entity using a unique Distinguished Name (DN).

Example

# Set the IP address of the entity to 10.1.1.1.
<HUAWEI> system-view
[~HUAWEI] pki entity entity1
[*HUAWEI-pki-entity-entity1] ip-address 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >