|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #49253 add support for libcurl's CERTINFO option
Submitted: 2009-08-14 14:45 UTC Modified: 2009-09-15 15:47 UTC
From: daniel at haxx dot se Assigned: pajoye (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5.2SVN-2009-08-14 (SVN) OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: daniel at haxx dot se
New email:
PHP Version: OS:


 [2009-08-14 14:45 UTC] daniel at haxx dot se
libcurl's CURLOPT_CERTINFO and CURLINFO_CERTINFO offer an application to extract a lot of information from the chain of certificates that a server offer at connect. This patch brings these options to PHP's CURL extension.

Note that the libcurl option actually still only works when libcurl is built to use OpenSSL (and not with GnuTLS or NSS etc).

This patch was written Linus Nielsen Feltzing <>

Patch URL:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-14 14:49 UTC]
hi Daniel,

Thanks for the patch. I will review and apply it to HEAD over the weekend. I'm not sure we can add it yet to 5.2 or 5.3 (but after 5.3.1, certainly).
 [2009-09-15 15:47 UTC]
Automatic comment from SVN on behalf of pajoye
Log: - #49253, add support for libcurl's CERTINFO option
 [2009-09-15 15:47 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC