View Issue Details

IDProjectCategoryView StatusLast Update
0015854CentOS-7curlpublic2020-09-22 15:18
Reporterwebsavers 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0015854: libcurl fails to return certinfo data
DescriptionLibcurl fails to return certinfo data.

This was first discovered while completing curl requests through PHP wherein the certinfo array is simply empty. We brought this issue up with the PHP binary provider, Plesk, in their forum here: https://talk.plesk.com/threads/php-libcurl-fails-to-populate-certinfo-array.351354/

As you can see there IgorG completes a few tests by creating a C app to see if *it* can get certinfo from libcurl -- it returns no certificate info, just like from PHP.

Therefore this appears to be a bug in the CentOS 7 release of libcurl.
Steps To ReproduceYou can see the link here for STR both with PHP and C: https://talk.plesk.com/threads/php-libcurl-fails-to-populate-certinfo-array.351354/
TagsNo tags attached.
abrt_hash
URLhttps://talk.plesk.com/threads/php-libcurl-fails-to-populate-certinfo-array.351354/

Activities

danpospisil

danpospisil

2020-09-18 11:44

reporter   ~0037707

We are affected by this bug as well. As a result in PHP curl_getinfo($handle, CURLINFO_CERTINFO) is returning an empty array.
TrevorH

TrevorH

2020-09-18 14:42

manager   ~0037708

Please run `yum update`. CentOS 7.8 is the only supported version of CentOS 7 and 7.6 is two whole point releases behind.

I ran the test php script in the plesk link and it works on 7.8.
danpospisil

danpospisil

2020-09-22 15:18

reporter   ~0037723

We do have version 7.8.2003
I tried a fresh install and still the same problem - curl_getinfo($handle, CURLINFO_CERTINFO) is empty (PHP 7.3).
Then i upgraded curl using this: https://www.mysterydata.com/update-install-latest-curl-version-on-rhel-8-rhel-7-centos-7-8-cwp-vestacp-cpanel-plesk/ and it started to work.

Issue History

Date Modified Username Field Change
2019-02-21 20:46 websavers New Issue
2020-09-18 11:44 danpospisil Note Added: 0037707
2020-09-18 14:42 TrevorH Note Added: 0037708
2020-09-22 15:18 danpospisil Note Added: 0037723