Missing CA file on latest beta
afu-dev opened this issue · 1 comments
afu-dev commented
Description:
As discussed on Slack, the latest build (beta11) is missing the certificate file to handle SSL connections.
Stack trace from the Vimeo SDK:
{
"errorType": "Vimeo\\Exceptions\\VimeoRequestException",
"errorMessage": "Unable to complete request. [error setting certificate verify locations: CAfile: /opt/ssl/cert.pem CApath: none]",
"stackTrace": [
"#0 /var/task/vendor/vimeo/vimeo-api/src/Vimeo/Vimeo.php(154): Vimeo\\Vimeo->_request('https://api.vim...', Array)",
"#1 redacted",
"#2 redacted",
"#3 redacted",
"#4 /var/task/vendor/bref/bref/src/Runtime/Invoker.php(24): redacted->handle(Array, Object(Bref\\Context\\Context))",
"#5 /var/task/vendor/bref/bref/src/Runtime/LambdaRuntime.php(87): Bref\\Runtime\\Invoker->invoke(Object(redacted), Array, Object(Bref\\Context\\Context))",
"#6 /var/task/vendor/bref/bref/src/FunctionRuntime/Main.php(32): Bref\\Runtime\\LambdaRuntime->processNextEvent(Object(redacted))",
"#7 /opt/bref/bootstrap.php(17): Bref\\FunctionRuntime\\Main::run()",
"#8 {main}"
]
}
How to reproduce:
- Create a new function
- Make a cURL request to an HTTPS endpoint