Exporting certificates
IMPORTANT: To export all certificates in the PKCS12 format, the PKI domain must have a minimum of one local certificate. Otherwise, the certificates in the PKI domain cannot be exported. | ||
You can export the CA certificate and the local certificates in a PKI domain to certificate files. The exported certificate files can then be imported back to the device or other PKI applications.
To export certificates:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Export certificates. |
| If you do not specify a file name when you export a certificate in PEM format, this command displays the certificate content on the monitor screen. When you export a local certificate with RSA key pairs to a file, the certificate file name might be different from the file name specified in the command. The actual certificate file name depends on the purpose of the key pair contained in the certificate. For more information, see Security Command Reference. |