Given that Red Hat Enterprise Linux 9 (RHEL 9) deprecated the use of SHA-1 for signing due to security concerns
Add repository
copysudo curl -o /etc/yum.repos.d/atatus-infra-agent.repo https://s3.amazonaws.com/atatus-artifacts/atatus-infra/rpm/x86_64/atatus-infra-agent.repo
copysudo yum -q makecache -y --disablerepo='*' --enablerepo='atatus-infra-agent'
Switch to the legacy crypto policy
sudo update-crypto-policies --set LEGACY
Install atatus infra agent
copysudo ATATUS_LICENSE_KEY="INFRA_LIC_KEY" yum install atatus-infra-agent -y
Switch back to default crypto policy
sudo update-crypto-policies --set DEFAULT