I'm getting certificate error for host in redhat virtualization

any idea on renewing certificate for host redhat Linux 4.3.
it says “host rhev4 certification has expired at 2024-0-0. please renew the host’s certification”

1 Like

Welcome to the forum, Thomas_MC! :handshake:

Dealing with an expired certificate on your RHEV 4.3 is something you should be able resolve. Here’s what you can do:

  1. SSH into the Host
    Start by logging into your host via SSH with an account that has sufficient privileges. You can do this with the following command:
ssh root@your-hostname-or-ip
  1. Renew the Certificate
    Once you’re logged in, you’ll want to use the vdsm-tool utility to renew the certificate. Run this command:
vdsm-tool cert renew
  1. Restart the VDSM Service
    After the certificate is renewed, restart the VDSM service to ensure the new certificate is applied:
systemctl restart vdsmd
  1. Verify the Certificate Status
    To make sure everything is in order, you can check the status of the VDSM service:
systemctl status vdsmd

Additionally, if you want to confirm the new certificate’s expiration date, use this command:

openssl x509 -in /etc/pki/vdsm/certs/cert.pem -noout -enddate
  1. Update the Manager (if necessary)
    If your host is managed by a Red Hat Virtualization Manager, it should recognize the renewed certificate automatically. However, if you run into any issues, you might need to refresh or reboot the host from the manager interface.

This should get your RHEV host back up and running smoothly. If you have any other questions or run into issues, feel free to ask—everyone here is happy to help!

1 Like

Thanks for the support!

hope you were able to solve this?

1 Like