Req #65575 [NEW]: Add CURLOPT_CRLFILE
| From: | kf at sumptuouscapital dot com | Date: | Wed, 28 Aug 2013 20:32:34 +0000 |
| Subject: | Req #65575 [NEW]: Add CURLOPT_CRLFILE | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-181275@lists.php.net to get a copy of this message | ||
From: kf at sumptuouscapital dot com
Operating system:
PHP version: master-Git-2013-08-28 (Git)
Package: cURL related
Bug Type: Feature/Change Request
Bug description:Add CURLOPT_CRLFILE
Description:
------------
In order for cURL to use a provided CRL file when verifying peers
CURLOPT_CRLFILE has to be set in the form of a char * (available since
7.19)
This can then be used in the form like
curl_setopt($chhkps, CURLOPT_CRLFILE, '/path/to/ca/crl.pem');
curl_setopt($chhkps, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($chhkps, CURLOPT_SSL_VERIFYPEER, true);
Expected result:
----------------
CRL file being validated. As is the behaviour with the provided patch
Actual result:
--------------
Constant CURLOPT_CRLFILE not defined
--
Edit bug report at https://bugs.php.net/bug.php?id=65575&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65575&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65575&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65575&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65575&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65575&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65575&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65575&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65575&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65575&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65575&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65575&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65575&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65575&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65575&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65575&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65575&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65575&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65575&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65575&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65575&r=mysqlcfg