How to Add Certificates to or Delete Certificates from the Certificate Library

Context

If the collector certificate expires or you need to add a trusted certificate to the trust library, delete the existing certificate and add the new one.

Procedure

  1. Delete the certificate from the certificate library.
    1. Access the directory where the keytool resides and run the keytool -delete -alias cert -keystore keystore command. cert is the certificate alias and can be set as required; keystore is the name of the certificate library file.
    2. Enter the keystore password as prompts and press Enter. The certificate information is displayed.
    3. Confirm the certificate information, enter y, and press Enter.
  2. Add the certificate to the certificate library.
    1. Access the directory where the keytool resides and run the keytool -import -alias cert -keystore keystore -file cert.cer command. cert is the name of the request file; keystore is the name of the certificate library file; cert.cer is the name of the certificate file.
    2. Enter the keystore password as prompts and press Enter. A message is displayed, saying that the authorization reply has been installed.
  3. Restart the ATIC.

Operation Result

After the preceding operations are performed, the certificate has been deleted or added.


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.