Req #81085 [NEW]: Can use cert raw string as CURLOPT_SSLCERT ?

From: Date: Thu, 27 May 2021 03:17:55 +0000
Subject: Req #81085 [NEW]: Can use cert raw string as CURLOPT_SSLCERT ?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234036@lists.php.net to get a copy of this message
From:             cevincheung at gmail dot com
Operating system: Linux
PHP version:      7.4.19
Package:          OpenSSL related
Bug Type:         Feature/Change Request
Bug description:Can use cert raw string as CURLOPT_SSLCERT ?

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 bug report at https://bugs.php.net/bug.php?id=81085&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81085&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81085&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81085&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81085&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81085&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81085&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81085&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81085&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81085&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81085&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81085&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81085&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81085&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81085&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81085&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81085&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81085&r=mysqlcfg


Thread (4 messages)

« previous php.bugs (#234036) next »