cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: PHP/CURL SSL_ERROR_MD5_DIGEST_FAILURE during forking

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Mar 2009 22:21:09 +0100 (CET)

On Thu, 12 Mar 2009, Ben Wallach wrote:

> I recently upgraded to Linux Fedora-10 (from FC5). I have php code (in
> client mode) that forks processes fairly heavily. Within each process https
> curl calls are made. On previous system everything worked fine. On new
> system, some of the curl connections are successful, but others yield a curl
> error 35 (SSL Connect Error). After turning on verbosity, additional info
> revealed an "NSS -12215" error. According to Mozilla.org, this is an
> SSL_ERROR_MD5_DIGEST_FAILURE error (MD5 digest function failed).
>
> Anybody have any insights into this?

A noticable difference between the working and the non-working systems, is the
change of SSL library from OpenSSL to NSS.

I think that if you can provide a curl command line against a public URL that
reproduces this or a similar problem, it'd be a great way to start debugging
this.

A fair test would also be to rebuild the modern libcurl with a recent OpenSSL
and see if that fixes the problems or not, as then we know if NSS is to blame
or if libcurl is!

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-03-12