Edit report at https://bugs.php.net/bug.php?id=65575&edit=1
ID: 65575 User updated by: kf at sumptuouscapital dot com Reported by: kf at sumptuouscapital dot com Summary: Add CURLOPT_CRLFILE -Status: Open +Status: Closed Type: Feature/Change Request Package: cURL related PHP Version: master-Git-2013-08-28 (Git) Block user comment: N Private report: N New Comment: This seems to be fixed in master and in php 5.5.4 Previous Comments: ------------------------------------------------------------------------ [2013-08-28 20:32:34] kf at sumptuouscapital dot com 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 this bug report at https://bugs.php.net/bug.php?id=65575&edit=1