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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cevincheung at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

Pull requests:

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 Nov 21 12:01:29 2024 UTC