RHEL 7 EPEL이 손상되었습니다.

RHEL 7 EPEL이 손상되었습니다.

내 RHEL 버전:

[root@x]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)

여기 RHEL 7 지침에 따라 EPEL을 활성화했습니다.https://docs.fedoraproject.org/en-US/epel/#How_can_I_use_these_extra_packages.3F

subscription-manager repos --enable rhel-*-optional-rpms \
                           --enable rhel-*-extras-rpms \
                           --enable rhel-ha-for-rhel-*-server-rpms
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

epel을 설치하기 위해 두 번째 명령을 실행하면 다음과 같은 결과가 나타납니다.

https://cdn.redhat.com/content/e4s/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

https://cdn.redhat.com/content/eus/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

여기서 이런 글을 봤습니다:https://access.redhat.com/solutions/4780531

그래서 게시를 설정했습니다. subscription-manager release --set=7.9

이것이 /7.9/바로 위의 URL에서 볼 수 있는 이유입니다.

저장소를 비활성화했다가 다시 활성화했습니다. 여전히 같은 오류가 발생합니다.

문제가 있는 URL 중 하나에 액세스하려고 하면 다음이 표시됩니다.

[root@x]# wget https://cdn.redhat.com/content/e4s/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml
--2022-07-15 10:17:08--  https://cdn.redhat.com/content/e4s/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml
Resolving cdn.redhat.com (cdn.redhat.com)... 23.65.16.251
Connecting to cdn.redhat.com (cdn.redhat.com)|23.65.16.251|:443... connected.
ERROR: cannot verify cdn.redhat.com's certificate, issued by ‘/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/[email protected]’:
  Self-signed certificate encountered.
To connect to cdn.redhat.com insecurely, use `--no-check-certificate'.

따라서 다음을 실행할 때 인증서 확인이 없습니다.

[root@x]# wget https://cdn.redhat.com/content/e4s/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml --no-check-certificate
--2022-07-15 10:17:14--  https://cdn.redhat.com/content/e4s/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml
Resolving cdn.redhat.com (cdn.redhat.com)... 23.65.16.251
Connecting to cdn.redhat.com (cdn.redhat.com)|23.65.16.251|:443... connected.
WARNING: cannot verify cdn.redhat.com's certificate, issued by ‘/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/[email protected]’:
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 403 Forbidden
2022-07-15 10:17:14 ERROR 403: Forbidden.

추가 확인으로 다음 URL에서 인증서에 대한 모든 세부정보를 확인했습니다.https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/certs-troubleshoot-verify

이게 왜 깨졌나요? 분명히 URL은 유효하며 직접 액세스하면 404를 제공하는 대신 403을 얻습니다. 그렇다면 왜 403이 직접 접속에 나타난다고 하는 yum걸까요 ?404 - Not Found

내가 원하는 것은 설치 iftop하고 예상대로 작동하기를 바라는 것뿐입니다.

[root@x]# yum install iftop
Loaded plugins: product-id, search-disabled-repos, subscription-manager
https://cdn.redhat.com/content/e4s/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
...
failure: repodata/repomd.xml from rhel-7-server-e4s-optional-rpms: [Errno 256] No more mirrors to try.
https://cdn.redhat.com/content/e4s/rhel/server/7/7.9/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

나는 다음을 실행했다:

subscription-manager repos --disable=rhel-7-server-e4s-optional-rpms
subscription-manager repos --disable=rhel-7-server-eus-optional-rpms

그리고 성공적으로 설치되었습니다 iftop. 이런 것들은 왜 깨지는 걸까요?

관련 정보