Bug 2066084
| Summary: | vmconsole-proxy-user certificate expired - cannot access serial console | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | nsurati |
| Component: | ovirt-engine | Assignee: | Milan Zamazal <mzamazal> |
| Status: | CLOSED ERRATA | QA Contact: | Qin Yuan <qiyuan> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.4.9 | CC: | ahadas, alolivei, emarcus, ffutigam, lsvaty, lveyde, michal.skrivanek, nsurati |
| Target Milestone: | ovirt-4.5.0-1 | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.5.0.7 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, the vmconsole-proxy-user and vmconsole-proxy-host certificates were not renewed when needed. With this release, the certificates are now renewed when executing engine-setup.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-26 16:23:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nsurati
2022-03-20 15:32:29 UTC
Most probably a duplicate of bz 1988496 The current fix only renews vmconsole cert when the engine CA cert is newer than the vmconsole cert. Moving back to assigned for also renewing vmconsole cert when engine CA cert has longer expiration than vmconsole cert and the vmconsole cert has expired. This is different from Bug 1988496, because the problem here is that other certificates, such as vmconsole-proxy-user-cert.pub and proxy-ssh_host_rsa-cert.pub, are not checked and renewed. (In reply to Milan Zamazal from comment #8) > This is different from Bug 1988496, because the problem here is that other > certificates, such as vmconsole-proxy-user-cert.pub and > proxy-ssh_host_rsa-cert.pub, are not checked and renewed. Ack, you're right, so moving to 4.5.1 Verified with: ovirt-engine-4.5.0.7-0.9.el8ev.noarch Steps: 1. Update engine CA cert to make it newer than vmconsole-proxy-user cert, run `engine-setup --offline`, check if all vmconsole-proxy-host/user certs and proxy-ssh_host/user certs are renewed. 2. Update system time to make vmconsole-proxy-user cert expire, but engine CA cert not expire, run `engine-setup --offline`, check if all vmconsole-proxy-host/user certs and proxy-ssh_host/user certs are renewed. Results: 1. All vmconsole-proxy-host/user certs and proxy-ssh_host/user certs are renewed during engine-setup when engine CA cert is updated. 2. All vmconsole-proxy-host/user certs and proxy-ssh_host/user certs are renewed during engine-setup when vmconsole-proxy-user cert is expired. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:4711 |