-
-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL operation failed with code 5 #421
Comments
Related issue: beyondcode/expose#391 (comment) Generally it's caused by openssl conf. Just set system default config. |
No working.
|
Do you have |
Yes.
All other binary is ok except static-php-cli. |
I try https://www.swoole.com/download, it was ok with the test script below. |
php openssl ini config cannot be set with |
From stack exchange, this is where Go looks for public root certificates:
|
You are right, run |
I thought about this, but different linux distributions still use different locations for root certificates. We currently only support hard-coding the specified ini, but supporting different distributions obviously requires a dynamic search method. It would be great if you have better advice on this. |
@crazywhalecc this probably doesn't have very high priority but still, considering that the |
Create a new Linux machine, create a test script:
Current static php cli version:
output:
The text was updated successfully, but these errors were encountered: