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(); ?>
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); ...
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);
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
Update With taroon update just now published, everything works :)