Req #81085 [PATCH]: Support CURLOPT_SSLCERT_BLOB for cert strings
| From: | camporter1@gmail.com | Date: | Fri, 25 Jun 2021 03:36:47 +0000 |
| Subject: | Req #81085 [PATCH]: Support CURLOPT_SSLCERT_BLOB for cert strings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-234624@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
Patch added by: camporter1@gmail.com
Reported by: cevincheung at gmail dot com
Summary: Support CURLOPT_SSLCERT_BLOB for cert strings
Status: Open
Type: Feature/Change Request
Package: cURL related
Operating System: Linux
PHP Version: 7.4.19
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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