Renewing a VM Certificate

If you have disabled the KeyControl auto-certificate renewal feature, you can reauthenticate a VM with a new certificate manually through the CLI or the webGUI.

Renewing the Certificate with the CLI

  1. Log into the VM as an Administrator.
  2. Enter the command hcl updatecert -a [-u username -p password] [-e certificate expiration], where:

    For example:

    # hcl updatecert -a -u CloudAdmin -p password -e 06/30/2018

Renewing the Certificate with the webGUI

  1. Log into the KeyControl webGUI on any node in the cluster using an account with Cloud Admin privileges.
  2. In the top menu bar, click Cloud.
  3. Select the VM for which you want to renew the certificate.
  4. Select Actions > Renew Certificate.
  5. In the Renew Certificate dialog box, enter the passphrase for the certificate. This passphrase is optional but recommended for added security.
  6. If desired, change the default certificate expiration date.
  7. When you are done, click Renew. KeyControl generates a new certificate with the .cert extension and downloads it to your browser's default download location.

    Important: Do not change the name of the certificate file. If you do, the reauthorization will fail.
  8. Copy the certificate to the VM.
  9. Log into the VM as an Administrator.
  10. Enter the command hcl updatecert [-p certificate_passphrase] /path/to/cert.cert, where:

    For example:

    # hcl updatecert -p onetimepassphrase16chars /hytrust/cert.cert