Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-13-2016, 03:59 AM   #1
Registered: Jan 2014
Posts: 100

Rep: Reputation: Disabled
how to curl


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.
Old 06-13-2016, 04:26 AM   #2
Senior Member
Registered: Apr 2005
Distribution: Ubuntu, Devuan, OpenBSD
Posts: 2,695
Blog Entries: 3

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
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.

man curl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 6.7 has really OLD curl. Best way to update curl? sneakyimp Linux - Server 4 04-26-2016 04:06 PM
curl bloodsugar Slackware 7 08-17-2009 11:09 AM
cURL: Server has many IPs, how would I make a cURL script use those IPs to send data? guest Programming 0 04-11-2009 12:42 PM
curl help furqan_sindhu Programming 5 09-13-2007 06:14 AM
cURL ballistic509 Debian 2 06-11-2006 02:06 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration