pki export-certificate default
Function
The pki export-certificate default command exports a default built-in certificate to the flash.
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-sensitive characters without spaces and question marks (?). When the value contains a directory, it is a string of 1 to 127 characters, for example, flash:/8ab3/ab3.pem. |
Usage Guidelines
To copy a certificate to another device, run this command to export the certificate to the flash 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 command to view information about default built-in certificates on the device.