cafile option of ssl stream context does not work with stream wrappers
[2013-08-24 14:05 UTC] sebastian@php.net
Description: ------------ The SSL stream context's "cafile" option expects the name of a file. When this name is not a "normal" filename but, for instance, "phar://phar-alias/ca.pem" I get the following error Unable to set verify locations `phar://phpunit-3.8-gb5ac7cc.phar/ca.pem' This looks to me like stream wrappers are not applied in this context. This makes it impossible to ship a PHAR that contains a CA file and use that to verify the peer (without copying it from the PHAR to a temporary file).
[2014-02-16 03:27 UTC] rdlowrey@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: rdlowrey
[2016-12-08 19:13 UTC] spam2 at rhsoft dot net
[2016-12-08 19:13 UTC] spam2 at rhsoft dot net
[2017-02-01 13:17 UTC] spam2 at rhsoft dot net
[2017-02-01 13:17 UTC] spam2 at rhsoft dot net