LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-08-2012, 03: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 haxx.se 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 https://thesite.com

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.

Thanks,

Шон
 
Old 08-08-2012, 07:18 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,928
Blog Entries: 45

Rep: Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160
Member Response

Hi,

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.

HTH!
 
  


Reply



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 05:16 AM
.curlrc file B-Boy Linux - Newbie 2 03-11-2008 02:40 AM
grub-set-default ... get-default? RaduH Linux - General 1 11-21-2007 01:05 PM
SSH - Problem with ciphers HaPagan Linux - Security 7 11-28-2005 05:49 AM
weak ssl ciphers in webmin hari_seldon99 Linux - Security 2 12-04-2004 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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