LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to curl (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-curl-4175582130/)

LYC 06-13-2016 02:59 AM

how to curl
 
Hi,

How to use curl command to check URL web page that has disabled TLS 1.0 and TLS 1.1 but enabled TLS 1.2?

Thanks in advance.

Turbocapitalist 06-13-2016 03:26 AM

You'll need curl 7.34.0 or later, best to get it from your distro's repository or backport repository. Then look in the manual page for --tlsv1.2 That option will force use of TLS 1.2 and ignore the other protocols. If the site has it enabled, it will connect. Otherwise it will fail.

Code:

man curl


All times are GMT -5. The time now is 12:44 AM.