crypto exportNEW!

Exports the default CA certificate from the device to the remote host in PEM format.

Syntax

crypto export [ ca-certificate default ] [ protocol [ scp | sftp ] ] [ remote-server ADDRESS ] [ remote-file FILE ] [ user NAME ] [ password NAME ]

Parameters

ca-certificate default
Specifies the default CA certificate.
protocol [ scp | sftp ]
Specifies the protocol used for sending the CA certificate.
remote-server ADDRESS
Specifies the IPv4 or IPv6 unicast address of the remote server.
remote-file FILE
Specifies the remote file name to copy the CA certificate. Supports 1-512 characters.
user NAME
Specifies the remote user to copy the CA certificate. Supports 1-64 characters.
password NAME
Specifies the remote user password. Supports 1-64 characters.

Modes

Exec mode

Usage Guidelines

This command is available only to users with the admin role.

Examples

The following example exports the default CA certificate from the switch to the remote-server.

device# crypto export ca-certificate default protocol scp remote-server 10.37.16.211 remote-file /root/temp/test.txt user root password root123
Exporting switch 'default' CA certificate...
Exported switch 'default' CA certificate successfully.