cURL: Validating TLS versions
I had to demonstrate that our hosting of a single page app did not accept TLS version 1.1,
This is the proof
curl -o /dev/null -s -w "%{http_code}\n" https://koala-moon.com --insecure --tls-max 1.1
Returns: 0000
curl -o /dev/null -s -w "%{http_code}\n" https://koala-moon.com --insecure --tls-max 1.2
Returns: 200
Easy eh?