Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Search this Thread
Old 08-08-2012, 04:30 PM   #1
LQ Newbie
Registered: Aug 2012
Distribution: Fedora 16 X64
Posts: 2

Rep: Reputation: Disabled
Question set default ciphers in .curlrc

The NSS libraries in cURL do not load all the ciphers I need by default so I wish to edit the .curlrc file and add the ciphers there, but I cannot determine the correct format for this. If you "man curl" the URL given with the cipher list is bad. I've Googled and searched all over the site and have been unable to find a good example of how to add ciphers to this file.

The root problem is if I just try curl with no params, it times out with an SSL error but if I specify the ciphers as below, it works:

curl --cipher rsa_rc4_128_sha

I'm trying to use curl against multiple sites in a shell script so do not want to put the cipher option in the script.

Apologies if this is wrong forum.


Old 08-08-2012, 08:18 PM   #2
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,396
Blog Entries: 3

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Member Response


Welcome to LQ!

Look at the online Wiki cURL lists several linked sites that you can get some example help from.

Or online curl manual. I checked & this link is functional: RFC 3986. Example(s) on this page are not meant to be linked too, just an example on this page. Poorly written online man page.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Specifying ciphers for SSH Mark_667 Solaris / OpenSolaris 4 11-01-2011 06:16 AM
.curlrc file B-Boy Linux - Newbie 2 03-11-2008 03:40 AM
grub-set-default ... get-default? RaduH Linux - General 1 11-21-2007 02:05 PM
SSH - Problem with ciphers HaPagan Linux - Security 7 11-28-2005 06:49 AM
weak ssl ciphers in webmin hari_seldon99 Linux - Security 2 12-04-2004 07:33 AM

All times are GMT -5. The time now is 12:37 PM.

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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration