php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #81085 Support CURLOPT_SSLCERT_BLOB for cert strings
Submitted: 2021-05-27 03:17 UTC Modified: 2021-06-24 10:07 UTC
From: cevincheung at gmail dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 7.4.19 OS: Linux
Private report: No CVE-ID: None
 [2021-05-27 03:17 UTC] 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');



Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-05-27 04:14 UTC] requinix@php.net
-Summary: Can use cert raw string as CURLOPT_SSLCERT ? +Summary: Support CURLOPT_SSLCERT_BLOB for cert strings
 [2021-05-27 04:14 UTC] requinix@php.net
Looks like libcurl does support it since 7.71.
https://curl.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html
 [2021-06-24 10:07 UTC] cmb@php.net
-Package: OpenSSL related +Package: cURL related
 [2021-06-25 03:36 UTC] 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-06-28 07:55 UTC] git@php.net
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.
 [2021-06-28 07:55 UTC] git@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC