How to enable TLS 1.0 and TLS 1.1 protocols in RHEL 8
Issue
- Cannot force
curl
to use TLS version 1.0 or 1.1 in RHEL 8.
# curl -sS -v --tlsv1.1 -X GET https://example.com/
* Trying 10.66.192.54...
* TCP_NODELAY set
* Connected to example.com (10.66.192.54) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (OUT), TLS alert, protocol version (582):
* error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
* Closing connection 0
curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
- How to enable TLS 1.0 and TLS 1.1 protocols in RHEL 8?
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.