CSR for egress nodes were not approved automatically during certificate renewal in RHOCP 4

Solution Verified - Updated -

Issue

  • The renewal certs are not auto-approved only for the egress node when there are additional Egress IPs.
  • This issue occurs only when there are egress IPs assigned to the node or the additional IPs (egress) changes compared to previously approved cert. We can see in logs that the SAN name check fails between the current and new cert due to a change in additional IPs.
  • Below is the error from machine-approver-controller pod logs:
Could not use current serving cert for renewal: CSR Subject Alternate Name values do not match the current certificate
W0723 07:25:07.304126       1 csr_check.go:173] Current SAN Values: 

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content