curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol

1 개요[ | ]

curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
Console
Copy
root@localhost:~# curl https://example.com
...
curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
Console
Copy
root@localhost:~# curl https://example.com
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* 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 protoc

2 임시조치[ | ]

Console
Copy
root@localhost:~# cat /etc/ssl/openssl.cnf | grep MinProtocol -A1
MinProtocol = TLSv1.2
CipherString = DEFAULT@SECLEVEL=2
Console
Copy
root@localhost:~# sed 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1.0/g' -i /etc/ssl/openssl.cnf
root@localhost:~# cat /etc/ssl/openssl.cnf | grep MinProtocol -A1
MinProtocol = TLSv1.0
CipherString = DEFAULT@SECLEVEL=2
Console
Copy
root@localhost:~# curl https://example.com
<head>
<title>Example</title>
...

3 같이 보기[ | ]