RHEL9: curl fails with "OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0" error message

Solution Verified - Updated -

Issue

  • When using curl on some specific websites, no output gets returned but an error message, e.g.

    # curl https://xml-gateway-test.schufa.de
    curl: (56) OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
    

Environment

  • Red Hat Enterprise Linux 9
    • curl up to curl-7.76.1-29.el9_4 included

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content