You can switch to Rocky Linux. It's the continuation of CentOS:
AlmaLinux is built from the same CentOS Sources as RHEL and patches faster, with no legal shenanigans, and, unlike Rocky Linux, is backed by an actual non-profit community that is not dominated by a single company.
To me, AlmaLinux is the true community successor to legacy CentOS.