On Sun, Jun 30, 2013 at 01:12:05PM -0700, Kristina Anderson wrote:
> cURL error 59: failed setting cipher list
> 
> recieved on newly configured server with abysmally bad hosting support
> 
> my curl_setopt looks like
> 
>    curl_setopt($curl, CURLOPT_URL, $url);
>    curl_setopt($curl, CURLOPT_HEADER, false);
>    curl_setopt($curl, CURLOPT_PORT,  '443');
>    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,  true);
>    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
>    curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT'] );
>    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
>    curl_setopt($curl, CURLOPT_TIMEOUT, 30);
>    curl_setopt($curl, CURLOPT_SSL_CIPHER_LIST, "rsa_rc4_128_sha");
>                                            //required as of November 2012
> 
> 
> Any ideas?  Thanks.

Error 59 is CURLE_SSL_CIPHER, which means "Couldn't use specified cipher."
or "failed setting cipher list". So, it appears that whichever SSL back-end
your libcurl is configured with doesn't support the "rsa_rc4_128_sha" cipher
type. It could be called something else, depending on which SSL library is in
use.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to