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

curl-and-php

Segmentation Fault with https

From: Mike Nolan <nolan_at_romaine.tssi.com>
Date: Wed, 10 Mar 2004 01:20:45 -0600 (CST)

My test server works fine, but my production server gets segmentation
faults during SSL negotiation, though it worked for a while last week.

As far as I can tell, both systems are built using the same modules.
(openssl-0.9.7b, curl-7.11.0, php-4.3.4)

The URL runs OK from the command line with curl, but not from php/libcurl.

Here's the output I get from verbose mode:

* About to connect() to certification.authorize.net port 443
* Connected to certification.authorize.net (64.94.118.140) port 443
* successfully set certificate verify locations:
* CAfile: /usr/local/share/curl/curl-ca-bundle.crt
 CApath: none
Segmentation fault

Here's what I get from the development site:

* About to connect() to certification.authorize.net port 443
* Connected to certification.authorize.net (64.94.118.140) port 443
* successfully set certificate verify locations:
* CAfile: /usr/local/share/curl/curl-ca-bundle.crt
 CApath: none
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=Washington/L=Bellevue/O=InfoSpace/OU=Authorize.Net/OU
=Terms of use at www.verisign.com/rpa (c)00/CN=certification.authorize.net
* start date: 2003-03-26 00:00:00 GMT
* expire date: 2004-03-25 23:59:59 GMT
* common name: certification.authorize.net (matched)
* issuer: /C=US/O=RSA Data Security, Inc./OU=Secure Server Certification
Authority
* SSL certificate verify ok.
> POST /gateway/transact.dll HTTP/1.1
Host: certification.authorize.net
(remainder deleted)

HTTP requests are working, just not HTTPS.
I'm running out of things to try. Suggestions?

--
Mike Nolan
Received on 2004-03-10