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
- Delete the certificate from the certificate library.
- 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.
- Enter the keystore password as prompts and press Enter. The certificate information is displayed.
- Confirm the certificate information, enter y, and press Enter.
- Add the certificate to the certificate library.
- 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.
- Enter the keystore password as prompts and press Enter. A message is displayed, saying that the authorization reply has been installed.
- Restart the ATIC.
Operation Result
After the preceding operations are performed, the certificate has been deleted or added.