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

curl-and-php

PHP/CURL SSL_ERROR_MD5_DIGEST_FAILURE during forking

From: Ben Wallach <benwallach_at_comcast.net>
Date: Thu, 12 Mar 2009 13:06:13 -0500

Hello group,

 

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?

 

Thanks in advance for your help!

 

-Ben

 

Ben Wallach

benwallach_at_comcast.net

 

 

 

NEW SYSTEM (failures):

-----------------------------

$uname -a

Linux 2.6.27.19-170.2.35.fc10.i686.PAE #1 SMP Mon Feb 23 13:09:26 EST 2009
i686 i686 i386 GNU/Linux

 

$php -v

PHP 5.2.6 (cli) (built: Sep 13 2008 11:13:29)

Copyright (c) 1997-2008 The PHP Group

Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

    with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by
eAccelerator

 

$curl -V

curl 7.19.4 (i386-redhat-linux-gnu) libcurl/7.19.4 NSS/3.12.2.0 zlib/1.2.3
libidn/0.6.14 libssh2/0.18

Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp

Features: GSS-Negotiate IDN IPv6 Largefile SSL libz

 

 

LEGACY SYSTEM (always successful)

--------------------------------------------

$uname -a

Linux 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 i686
i386 GNU/Linux

 

$php -v

PHP 5.1.6 (cli) (built: May 9 2007 11:28:53)

Copyright (c) 1997-2006 The PHP Group

Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend
Technologies

    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend
Technologies

 

$curl -V

curl 7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8a zlib/1.2.3
libidn/0.6.2

Protocols: tftp ftp telnet dict ldap http file https ftps

Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

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