Search

3.4. Renewing certificates before they expire

download PDF

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

  1. Renew the host certificates:

    1. In the Administration Portal, click Compute Hosts.
    2. 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.
    3. When the host is in maintenance mode and there are no more virtual machines remaining on this host, click Installation Enroll Certificate.
    4. When enrollment is complete, click Management Activate.
  2. Renew the Manager certificates:

    1. Self-hosted engine only: log in to the host and put it in global maintenance mode.

      # hosted-engine --set-maintenance --mode=global
    2. 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.

    3. Enter Yes after the following engine-setup prompt:

      Renew certificates? (Yes, No) [Yes]:
    4. Self-hosted engine only: log in to the host and disable global maintenance mode:

      # hosted-engine --set-maintenance --mode=none
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.