Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

SSL certificate problem: certificate has expired #228

Closed
diazsasak opened this issue Oct 1, 2021 · 6 comments
Closed

SSL certificate problem: certificate has expired #228

diazsasak opened this issue Oct 1, 2021 · 6 comments

Comments

@diazsasak
Copy link

Describe the bug
Hi, i deploy meilisearch from digitalocean provided droplet. I am facing problem saying that SSL certificate expired. how to update the SSL? i try to rerun meilisearch-setup and being asked to use ssl i choose "y". But still got this error. Some help would be appreciated, i got this error in production.

Screenshots
"class": "GuzzleHttp\\Exception\\RequestException", "message": "cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://mydomain.com/indexes/my_invoices/documents?primaryKey=id"

image
image

MeiliSearch version:
0.19.0

Additional context
Meili Ubuntu droplet (provided by DigitalOcean)

@quangtam
Copy link

quangtam commented Oct 1, 2021

You should force renew certificate, the Let's Encrypt has been change root certificate, more detail: https://community.letsencrypt.org/t/r3-intermediate-certificate-has-expired/160797/2

@diazsasak
Copy link
Author

diazsasak commented Oct 1, 2021

@quangtam thank you for your response. i have follow this https://docs.meilisearch.com/create/how_to/running_production.html#_3-2-option-a-certbot
to renew the certificate. i notice that the expiration date is updated to 30 December 2021. but its still show Certificate has expired. is it mean LE still giving certbot the old root certificate?
even using this command:
sudo certbot --force-renewal -d domain.com

image

@curquiza
Copy link
Member

curquiza commented Oct 2, 2021

Hello @diazsasak!
Moving this issue in the meilisearch-digitalocean repository. @alallema will help you with this! :)

@curquiza curquiza transferred this issue from meilisearch/meilisearch Oct 2, 2021
@diazsasak
Copy link
Author

Hello @curquiza , Thank you

@diazsasak
Copy link
Author

Hello, i have found the solution and working. i need to update postman and disable the expired certificate on my server

postmanlabs/postman-app-support#10338
https://superuser.com/questions/1679204/curl-on-ubuntu-14-all-lets-encrypt-certificates-are-expired-error-60

Thank you for your time

@alallema
Copy link
Contributor

alallema commented Oct 4, 2021

Hi @diazsasak,
I'm too late, sorry. Glad you found the solution, and thank you for the report.
I closed the issue feel free to reopen it if needed

@alallema alallema closed this as completed Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants