-
Notifications
You must be signed in to change notification settings - Fork 210
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
Unable to Get Local Issuer Certificate #329
Comments
Just ran into this issue as well, #73 helped for me, aka:
That fixed it for me. |
That did the trick. thank you! |
Same for me - been using this code on a site for years without issue, until getting this error today. Replacing the existing certificate with the one mentioned above has fixed the error. I'm a little concerned though - the new certificate file is a LOT longer, containing all those root certificates. So I ask: should we be using this file, or would something else be a better fit? |
Hi ! Yesterday a client reported some vimeo contents missing from their website. After checking the logs, this is the error that was stopping the API calls from completing. I was pretty happy to find a quick solution to fix their problem (thanks @Rafaeltheraven !), but I'm sharing @fergusweb's concerns. I'm hoping someone from the vimeo dev team or the main contributors could add some context to this thread, and confirm/infirm the current solution. |
I've got the same concerns and agree it would be nice if Vimeo could provide us with a list of just the necessary root certs. As for now however, the link I provided above leads to the exact same file as linked by the curl devs (at least, |
Cert pinning was removed from this library 2 years ago, #288. We can recommend you few ways to fix this matter : Update to the latest version of vimeo-php Or Download http://curl.haxx.se/ca/cacert.pem
Please do not pin to a specific api.vimeo.com cert. These can and will change in the future without notice. |
Hey @aaronm67, thanks for confirming ! |
I have resolved the issue using above solution.
I have resolved the issue using the above solution. Thanks. |
I admit I haven't updated my Vimeo php API for some time, as it has worked excellent so far. But today I'm getting greeted with this error:
Fatal error: Uncaught exception 'Vimeo\Exceptions\VimeoRequestException' with message 'Unable to complete request.[SSL certificate problem: unable to get local issuer certificate]' in /vimeo/src/Vimeo/Vimeo.php:156 Stack trace: #0 /vimeo/src/Vimeo/Vimeo.php(129): Vimeo\Vimeo->_request('https://api.vim...', Array) #1 /util/adm-vimeocheck.php(18): Vimeo\Vimeo->request('/me/videos/8033...', '', 'GET') #2 {main} thrown in /util/vimeo/src/Vimeo/Vimeo.php on line 156
Is there an easy fix? I tried just updating the Vimeo.php files but am getting other PHP errors from doing that.
All feedback appreciated.
The text was updated successfully, but these errors were encountered: