To perform a cURL request with a specific SSL/TLS version, you can use the --tlsv1.2
flag followed by the URL you want to request. Here's the step-by-step process:
[URL]
with the actual URL you want to request:
curl --tlsv1.2 [URL]
This command explicitly sets the TLS version to 1.2. You can replace tlsv1.2
with other supported SSL/TLS versions like tlsv1
, tlsv1.1
, tlsv1.3
, etc.