yum throws " Curl error (35): SSL connect error for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [error:1408F10B:SSL routines:ssl3_get_record:wrong version number]" error.
Issue
-
yum update throws
Curl error (35): SSL connect error for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
error. -
Yum repolist
fails with the below error:-Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 0.0 B/s | 0 B 00:00 Errors during downloading metadata for repository 'rhel-9-for-x86_64-appstream-rpms': - Curl error (35): SSL connect error for https://cdn.redhat.com/content/dist/rhel9/9.2/x86_64/appstream/os/repodata/repomd.xml [error:0A000126:SSL routines::unexpected eof while reading] Error: Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
-
yum/dnf
commands fails with the below error:-Errors during downloading metadata for repository 'rhel-9-for-x86_64-appstream-rpms': - Curl error (35): SSL connect error for https://cdn.redhat.com/content/dist/rhel9/9.5/x86_64/appstream/os/repodata/repomd.xml [error:0A0000C6:SSL routines::packet length too long] Error: Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Environment
- Red Hat Enterprise Linux
- 8
- 9
- Red Hat Subscription Manager (RHSM)
- HTTP Proxy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.