Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

file_get_contents(): SSL operation failed with code 5. OpenSSL Error - Laravel octane #679

Closed
degodfather opened this issue Mar 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@degodfather
Copy link

What happened?

While using file_get_contents() to fetch an https url, I'm getting the following error

file_get_contents(): SSL operation failed with code 5. OpenSSL Error messages: error:80000002:system library::No such file or directory error:80000002:system library::No such file or directory error:80000002:system library::No such file or directory error:0A000086:SSL routines::certificate verify failed

I'm using Laravel Octane and I'm able to fetch https URL using file_get_contents() using PHP cli

Build Type

Standalone binary

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

Interesting thing phpinfo() doesn't return anything on the server.

Relevant log output

file_get_contents(): SSL operation failed with code 5. OpenSSL Error messages:
error:80000002:system library::No such file or directory
error:80000002:system library::No such file or directory
error:80000002:system library::No such file or directory
error:0A000086:SSL routines::certificate verify failed
@degodfather degodfather added the bug Something isn't working label Mar 20, 2024
@dunglas
Copy link
Owner

dunglas commented Mar 20, 2024

Duplicate of #582.

@dunglas dunglas closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants