pki retrieval-certificate
Syntax
pki retrieval-certificate { ca | local } domain domain-name
View
System view
Default level
2: System level
Parameters
ca: Retrieves the CA certificate.
local: Retrieves the local certificate.
domain-name: Name of the PKI domain used for certificate request, a string of 1 to 15 characters.
Description
Use pki retrieval-certificate to retrieve a certificate from the server for certificate distribution.
The retrieved certificates are stored in the root directory of the switch, with the file name as domain-name_ca.cer or domain-name_local.cer according to the certificate type.
Related commands: pki domain.
Examples
# Retrieve the CA certificate from the certificate issuing server.
<Sysname> system-view [Sysname] pki retrieval-certificate ca domain 1