Open ppetermann opened 9 years ago
Also having same problem. I see this haven't been fixes for almost 1 year now.
I'm wondering why curl with same SSL peer verification (CURLOPT_SSL_VERIFYHOST
option) can't be used instead of humbug_get_contents
function/package.
Here is what I've did in my library fork to get this working: https://github.com/console-helpers/phar-updater/commit/6dc6cdad0fe05c7d0a455017e44c636236c6d4de
Still needed?
Sorry for the delay, been AWOL.
Sure. But this original issue that needs fixing is https://github.com/padraic/file_get_contents/issues/4. This issue is just a link so that we'll know that what's happening in here is result of an issue in a dependency.
on a side note, would it make sense to move https://github.com/padraic/file_get_contents under the Humbug umbrella?
@theofidry Absolutely. I also have the github site for the PHAR downloads.
Edit: Transferred the file_get_contents repo and updated the Packagist site.
the issue described in: https://github.com/padraic/file_get_contents/issues/4
causes the github strategy (on PHP < 5.6.0) to fail with: file_get_contents(): Peer certificate CN=
s3.amazonaws.com' did not match expected CN=
github.com'