< Home

pki export-certificate default

Function

The pki export-certificate default command exports a default built-in certificate to the CF card or Hda1.

Format

pki export-certificate default { ca | local } filename filename

Parameters

Parameter

Description

Value

ca

Specifies the CA certificate to be exported.

-

local

Specifies the local certificate to be exported.

-

filename filename

Specifies the name of an exported certificate file.

The value is a string of 1 to 64 case-insensitive characters without spaces and question marks (?).

Views

System view

Default Level

3: Management level

Usage Guidelines

To copy a certificate to another device, run this command to export the certificate to the CF card or Hda1 on the local device first, and transfer the certificate file to the other device using a protocol transfer protocol.

Before using this command, run the display pki certificate (all views) command to view information about default built-in certificates on the device.

Virtual systems do not support this command.

Example

# Export the default built-in CA certificate.

<sysname> system-view
[sysname] pki export-certificate default ca filename ca.der
 Info: Succeeded in exporting the certificate.  
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >