How to specify TLS version with cURL

Tadashi Shigeoka ·  Tue, April 3, 2018

I’ll introduce how to execute cURL commands by specifying TLS version.

Linux | リナックス

Access with cURL by specifying TLS version

TLS1.0

curl --silent --verbose --tlsv1.0 https://example.com/ > /dev/null

TLS1.1

curl --silent --verbose --tlsv1.1 https://example.com/ > /dev/null

TLS1.2

curl --silent --verbose --tlsv1.2 https://example.com/ > /dev/null

That’s all from the Gemba where I wanted to check connections by specifying TLS version with cURL.

References