The downloaded local certificate must be imported into the device memory to take effect. The device will store the imported certificate file to the ca_config.ini file in the default directory and automatically load the certificate file after restarting.
The local certificate has been downloaded, and the certificate file has been stored to the device storage.
To prevent a failure to install the local certificate, ensure that the certificate file size does not exceed 1 MB.
You need to manually install the local certificate when the local certificate is applied offline or the CMPv2 method is configured. When the SCEP method is configured, the device automatically downloads the local certificate.
The system view is displayed.
Or run pki import-certificate local realm realm-name pkcs12 filename filename [ no-check-validate ] [ no-check-hash-alg ] password password
The local certificate is imported into the device memory.
A key pair file may be included in the certificate file, or exist independently of the certificate file. The import methods are different.
A certificate file contains a key pair file.
Run the pki import rsa-key-pair command to import the certificate and key pair files simultaneously.
If a certificate file contains a key pair file, the pki import-certificate command imports only the certificate file, but not the key pair file. To import the key pair file, run the pki import rsa-key-pair command after the pki import-certificate command.
The key pair file is independent of the certificate file.
Import the certificate file.
Run the pki import-certificate command.
Import the key pair file.
Run the pki import rsa-key-pair command.
If you do not know the format of the certificate you want to import, configure each format in turn and check whether the certificate is successfully imported. If the certificate format is not specified, the system automatically detects the certificate format and imports it.
The expiration prewarning time of the local certificate in the device memory is configured.
The default expiration prewarning time of the local certificate in the device memory is seven days.