
웹 서비스에 연결하려고 하는데 오류가 발생합니다.
cURL error 77: .........
웹에서 다음과 같은 방법으로 문제를 해결할 수 있다는 내용을 읽었습니다.
yum reinstall -y ca-certificates
하지만 그렇게 하면 다음과 같은 결과를 얻습니다.
# yum reinstall -y ca-certificates
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was
14: curl#77 - "Problem with the SSL CA cert (path? access rights?)"
Could not retrieve mirrorlist https://mirror.webtatic.com/yum/el7/x86_64/mirrorlist error was
14: curl#77 - "Problem with the SSL CA cert (path? access rights?)"
내가 무엇을해야 하나?
답변1
다음을 사용하여 yum에서 SSL 확인을 일시적으로 비활성화합니다.
-
echo "sslverify=0" >> /etc/yum.conf
- 냠 다시 설치 -y CA 인증서
- /etc/yum.conf에서 원하는 편집기를 사용하여 임시 해킹을 제거하세요.
편집하다:
어떤 이유로든 여전히 작동하지 않으면 다음을 시도해 볼 수 있습니다.
- 패키지를 찾으세요. RPM 패키지의 경우 다음 웹사이트를 추천합니다 -https://pkgs.org/
curl -k
또는 를 사용하여 패키지를 다운로드합니다wget --no-check-certificate
. 아래 사례를 사용하고 있지만http
https로 리디렉션될 수 있습니다. CentOS 7 및현재 날짜다음과 같이 보일 것입니다:wget --no-check-certificate http://mirror.centos.org/centos/7/os/x86_64/Packages/ca-certificates-2020.2.41-70.0.el7_8.noarch.rpm || curl -k http://mirror.centos.org/centos/7/os/x86_64/Packages/ca-certificates-2020.2.41-70.0.el7_8.noarch.rpm -o ca-certificates-2020.2.41-70.0.el7_8.noarch.rpm
- 다음을 사용하여 수동으로 설치하십시오.
yum reinstall -y ./ca-certificates-2020.2.41-70.0.el7_8.noarch.rpm