RouterCertsDegraded

Nagashree 80 Reputation points
2025-10-22T10:53:40.46+00:00

Hi Team

When I run oc get co on my cluster, I see below error saying

RouterCertsDegraded: secret/v4-0-config-system-router-certs.spec.data[apps.xxx-xxx.arocluster.net] -n openshift-authentication: certificate could not validate route hostname oauth-openshift.apps.xxx-xxx.arocluster.net: x509: certificate has expired or is not yet valid: current time 2025-10-14T11:17:33Z is after 2025-06-05T14:49:36Z

But when I check secret (v4-0-config-system-router-certs) in openshift-authentication project, I can see it has not been expired:
Not Before: May 30 07:29:39 2025 GMT

Not After : May 30 07:29:40 2027 GMT

What is the cause of this error, and is there a solution available? Since this involves ARO, is Azure responsible for resolving the issue?

Azure Red Hat OpenShift
Azure Red Hat OpenShift

An Azure service that provides a flexible, self-service deployment of fully managed OpenShift clusters.


2 answers

Sort by: Most helpful
  1. Nagashree 80 Reputation points
    2025-11-26T14:05:50.35+00:00

    Hi Team,

    az aro update --name MyCluster --resource-group MyResourceGroup

    Didnot fix the issue.

    Then we followed- https://access.redhat.com/solutions/7071296
    But still we have same issue

    Was this answer helpful?


  2. Manish Deshpande 7,785 Reputation points Microsoft External Staff Moderator
    2025-10-23T04:19:05.9+00:00

    Hello Nagashree

    Welcome to Microsoft Q&A.

    • The RouterCertsDegraded error indicates a problem with router certificates in your OpenShift cluster. Although the error message suggests that the certificate has expired, the actual certificate stored in the openshift-authentication secret remains valid until "May 30, 2027".
    • This discrepancy typically occurs when the cluster’s automatic certificate update process fails. Normally, certificates are refreshed during routine maintenance, but if the update process does not complete successfully, the system may continue to report an expired certificate even though it is still valid.
    • To restore your cluster to a healthy state, you can manually update the certificates using the Azure CLI:
    1. Open Azure Cloud Shell.
    2. Run the following command:
    az aro update --name MyCluster --resource-group MyResourceGroup
    

    Running this command will:

    1. Restart the worker machines.
    2. Update the cluster certificates.
    3. Return the cluster to a stable, known state.
    • Azure Red Hat OpenShift manages infrastructure and certificate maintenance automatically. However, if the automated process fails, manual intervention ensures that certificates are correctly updated and the cluster continues to operate as expected.

    Reference link - https://learn.microsoft.com/en-us/azure/openshift/howto-update-certificates

    Kindly let us know if the above helps or you need further assistance on this issue.

    Thanks,
    Manish Deshpande.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.