Req #81085 [Opn->Csd]: Support CURLOPT_SSLCERT_BLOB for cert strings
| From: | git@php.net | Date: | Mon, 28 Jun 2021 07:55:01 +0000 |
| Subject: | Req #81085 [Opn->Csd]: Support CURLOPT_SSLCERT_BLOB for cert strings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-234657@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=81085&edit=1
ID: 81085
Updated by: git@php.net
Reported by: cevincheung at gmail dot com
Summary: Support CURLOPT_SSLCERT_BLOB for cert strings
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: cURL related
Operating System: Linux
PHP Version: 7.4.19
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of camporter (author) and nikic (committer)
Revision: https://github.com/php/php-src/commit/b11785c5e48437a0fd0e6935c52c372239838382
Log: Fixed bug #81085: Add version 7.71.0 blob options.
Previous Comments:
------------------------------------------------------------------------
[2021-06-25 03:36:47] camporter1 at gmail dot com
The following pull request has been associated:
Patch Name: curl: Add version 7.71.0 blob options
On GitHub: https://github.com/php/php-src/pull/7194
Patch: https://github.com/php/php-src/pull/7194.patch
------------------------------------------------------------------------
[2021-05-27 04:14:03] requinix@php.net
Looks like libcurl does support it since 7.71.
https://curl.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html
------------------------------------------------------------------------
[2021-05-27 03:17:55] cevincheung at gmail dot com
Description:
------------
Can use cert raw string as CURLOPT_SSLCERT ?
or other HTTP client without curl can do this ?
Test script:
---------------
curl_setopt($ch, CURLOPT_URL, 'https://..need client certificate
site');
curl_setopt($ch, CURLOPT_SSLCERT, 'must be a physics file location');
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81085&edit=1