In Red Hat Virtualization earlier than version 4.4 SP1, all certificates followed a 398 day lifetime. Starting in Red Hat Virtualization version 4.4 SP1, the self-signed internal certificates between hypervisors and the Manager follow a five year lifetime. Certificates visible to web browsers still follow the standard 398 day lifetime and must be renewed once per year.
Warning: Do not let certificates expire. If they expire, the host and Manager stop responding, and recovery is an error-prone and time-consuming process.
Procedure
01. Renew the host certificates:
I. In the Administration Portal, click Compute > Hosts.
II. Click Management > Maintenance and then click OK. The virtual machines should automatically migrate away from the host. If they are pinned or otherwise cannot be migrated, you must shut them down.
III. When the host is in maintenance mode and there are no more virtual machines remaining on this host, click Installation > Enroll Certificate.
IV. When enrollment is complete, click Management > Activate.
02. Renew the Manager certificates:
I. Self-hosted engine only: log in to the host and put it in global maintenance mode.
# hosted-engine --set-maintenance --mode=global
II. Self-hosted engine and standalone Manager: log in to the Manager and run engine-setup
.
# engine-setup --offline
The engine-setup
script prompts you with configuration questions. Respond to the questions as appropriate or use an answers file.
III.Enter Yes
after the following engine-setup
prompt:
Renew certificates? (Yes, No) [Yes]:
IV. Self-hosted engine only: log in to the host and disable global maintenance mode:
# hosted-engine --set-maintenance --mode=none