Req #81085 [Opn]: Support CURLOPT_SSLCERT_BLOB for cert strings

From: Date: Thu, 27 May 2021 04:14:03 +0000
Subject: Req #81085 [Opn]: Support CURLOPT_SSLCERT_BLOB for cert strings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234037@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: requinix@php.net Reported by: cevincheung at gmail dot com -Summary: Can use cert raw string as CURLOPT_SSLCERT ? +Summary: Support CURLOPT_SSLCERT_BLOB for cert strings Status: Open Type: Feature/Change Request Package: OpenSSL related Operating System: Linux PHP Version: 7.4.19 Block user comment: N Private report: N New Comment: Looks like libcurl does support it since 7.71. https://curl.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#234037) next »