Bug 104685 - new curl breaks php curl calls
Summary: new curl breaks php curl calls
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: php
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-19 01:41 UTC by Christopher McCrory
Modified: 2007-11-30 22:06 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2003-09-19 08:07:24 UTC


Attachments (Terms of Use)

Description Christopher McCrory 2003-09-19 01:41:20 UTC
Description of problem:
new curl breaks php curl calls

Version-Release number of selected component (if applicable):
php-4.3.2-8.ent

How reproducible:
always

Steps to Reproduce:
1. up2date latest curl
2. run php curl type stuff
3.
    
Actual results:
no data

Expected results:
data :)

Additional info:
tester:
<?
echo curl_version();
$ch = curl_init ("https://www.redhat.com/");
$result = curl_exec ($ch);
curl_close ($ch);
echo("\n<BR>Output: ".$result);
#phpinfo();
?>

Comment 1 Joe Orton 2003-09-19 08:07:24 UTC
Curl does SSL certificate verification by default now for https; you need to
either load the appropriate CA cert (CURLOPT_SSLCERT I think) or turn off
verification e.g.

$ch = curl_init ("https://www.redhat.com/");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
...



Comment 2 Christopher McCrory 2003-09-19 16:41:12 UTC
D'oh I was in a hurry when I wrote this up

updating curl breaks php/curl
A recompile of php fixes it.

There was a bug with curl going from curl source supplied root CA certs to
openssl supplied root CA certs.  That is now fixed.

Doesn't this say "Don't bother checking if the cert is valid?"
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);



Comment 3 Christopher McCrory 2003-09-19 17:16:09 UTC
D'oh one more time 

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104400

With curl from rawhide and rebuilding php , php/curl works


Comment 4 Christopher McCrory 2003-09-19 21:15:09 UTC
Update

With taroon update just now published, everything works :)




Note You need to log in before you can comment on or make changes to this bug.