Curl: Difference between revisions

From DWIKI
(Created page with "=HOWTO= ==Check supported TLS version== curl -I -v --tlsv1.2 --tls-max 1.2 https://www.example.com/")
 
Line 2: Line 2:
==Check supported TLS version==
==Check supported TLS version==
  curl -I -v --tlsv1.2 --tls-max 1.2 https://www.example.com/
  curl -I -v --tlsv1.2 --tls-max 1.2 https://www.example.com/
==Specify hostname for https request==
https://stackoverflow.com/questions/50279275/curl-how-to-specify-target-hostname-for-https-request

Revision as of 13:22, 10 November 2022

HOWTO

Check supported TLS version

curl -I -v --tlsv1.2 --tls-max 1.2 https://www.example.com/


Specify hostname for https request

https://stackoverflow.com/questions/50279275/curl-how-to-specify-target-hostname-for-https-request