pki file-format

Function

The pki file-format command configures the format of the certificate request file.

The undo pki file-format command restores the default configuration.

By default, the format of the certificate request file is PEM.

Format

pki file-format { der | pem }

undo pki file-format [ der | pem ]

Parameters

Parameter Description Value
der

Indicates that the certificate request file is in DER format.

-

pem

Indicates that the certificate request file is in PEM format.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pki write

Usage Guidelines

Usage Scenario

Run the pki file-format command to change the format of the generated certificate request file.

Example

# Configure the certificate request file in DER format.
<HUAWEI> system-view
[~HUAWEI] pki file-format der
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >