Skip to content
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 certificate problem: certificate has expired #336

Closed
mathieuCatapulpe opened this issue Mar 25, 2024 · 10 comments
Closed

SSL certificate problem: certificate has expired #336

mathieuCatapulpe opened this issue Mar 25, 2024 · 10 comments

Comments

@mathieuCatapulpe
Copy link

On an old website I inherited from my predecessor I get this error :

Vimeo\Exceptions\VimeoRequestException : Unable to complete request. [SSL certificate problem: certificate has expired] in line 509 vimeo/vimeo-api/src/Vimeo/Vimeo.php

Most problems I saw here concerning SSL are about Local Issuer Certificate issues, I tried some of their solutions but it didn't solve the issue.

Any ideas where it might be coming from ? It's a pretty old version of Vimeo php, but the website is running a drupal 7, so updating php version for instance might break stuff

@mpossani
Copy link

mpossani commented Mar 25, 2024

I started getting the same error last week in one of our old development environments, specifically when sending a PATCH request thru Vimeo API. We don't use any framework in this environment, but it's an old version of php (5.6) and apache. We have a similar production environment working with no problem, and our brand new environments with updated php and nginx working well too. Anyone else having the same SSL certficate problem?

@stitpragya22
Copy link

I still got same problem, in codeigniter 4 what would be the solution for this?

@Rultig
Copy link

Rultig commented Mar 25, 2024

Had the exact same problem appear a couple of days ago on the production server. Seems to be working in dev environment though.

Version 2.x on Laravel 5.6.

@aaronm67
Copy link
Collaborator

Cert pinning was removed from this library around 3 years ago - you either need to update to the latest version of this library, or you can follow instructions in this thread to use a standard cert: #329

@mpossani
Copy link

Cert pinning was removed from this library around 3 years ago - you either need to update to the latest version of this library, or you can follow instructions in this thread to use a standard cert: #329

It didn't work for me. Same error.

@corentindechomet
Copy link

corentindechomet commented Mar 26, 2024

Cert pinning was removed from this library around 3 years ago - you either need to update to the latest version of this library, or you can follow instructions in this thread to use a standard cert: #329

I can confirm that the problem is different. Even after updating the library, we still get the same error.
The issue mentionned helps users to get rid of "SSL certificate problem: unable to get local issuer certificate" error.
Here we have the following error: "SSL certificate problem: certificate has expired"
We inspected "api.vimeo.com" domain, and we saw that the certificate was updated last friday (22 march). Maybe there's a connection?

@Rultig
Copy link

Rultig commented Mar 26, 2024

Cert pinning was removed from this library around 3 years ago - you either need to update to the latest version of this library, or you can follow instructions in this thread to use a standard cert: #329

I can confirm that the problem is different. Even after updating the library, we still get the same error. The issue mentionned helps users to get rid of "SSL certificate problem: unable to get local issuer certificate" error. Here we have the following error: "SSL certificate problem: certificate has expired" We inspected "api.vimeo.com" domain, and we saw that the certificate was updated last friday (23 march). Maybe there's a connection?

That seems like the most probable cause since that was the exact day the problems started for me.

@aaronm67
Copy link
Collaborator

api.vimeo.com uses a standard Let's Encrypt certificate, see https://letsencrypt.org/certificates, please ensure your system trust stores are up to date.

This certificate will change regularly and without notice, and as often as every few months, please don't pin a specific certificate.

@adrianpaiva1
Copy link

so how do we fix this?

@aaronm67
Copy link
Collaborator

aaronm67 commented May 1, 2024

so how do we fix this?

Update your system SSL Certificate, or manually install the certificates at https://letsencrypt.org/certificates

Going to close this issue, as this isn't a library issue. For further support, please reach out to https://vimeo.com/help/contact.

@aaronm67 aaronm67 closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants