RHEL – Curl error (91): SSL server certificate status verification FAILED

Errors during downloading metadata for repository ‘rhel-9-for-aarch64-baseos-rpms’:

  • Curl error (91): SSL server certificate status verification FAILED for https://cdn.redhat.com/content/dist/rhel9/9/aarch64/baseos/os/repodata/repomd.xml [OCSP response has expired]
    오류: repo를 위한 메타자료 내려받기에 실패하였습니다 ‘rhel-9-for-aarch64-baseos-rpms’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

dnf update 명령어를 실행 시 위와 같은 오류가 발생한다면 몇가지 시도 해볼수 있는 해결방법이 있다.

  1. 시스템 시간 확인
  2. 서브스크립션 확인

보통은 서버의 NTP 문제로 많이 발생을 하는데 아래와 같이 명령어를 실행

[root@localhost ~]# timedatectl status
시스템 시간 확인하기
[root@localhost ~]# date -s "2024-01-01 hh:mm:ss"

수동으로 NTP를 맞춰주고 다시 dnf update를 실행.

이래도 처리가 안되면 서브스크립션 재등록이 필요하며 아래 글을 참고 해주시면 감사합니다.

By Low ahn

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다