Consider using openssl_get_cert_locations
kelunik opened this issue · 2 comments
kelunik commented
It should be considered using http://php.net/openssl_get_cert_locations on newer versions (PHP 5.6+).
Seldaek commented
Sounds good if you wanna send a PR (don't forget we still support PHP 5.3 array syntax tho:)
We already take care of the env vars though and using openssl.cafile/capath I am not sure if we already take care of the rest or if this really brings anything additional.
exussum12 commented
As an update here, this was implemented and it looks like its a compile time setting not a run time one, so the path doesnt exist correctly on some systems.
This was removed as it started making curl check wrong locations