Certbot certificate expired under 50 days

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: http://dev-app.payswiftly.com](http://dev-app.payswiftly.com/

I ran this command: normal certbot installation

It produced this output:

My web server is (include version): nginx

The operating system my web server runs on is (include version): nginx version: nginx/1.14.0 (Ubuntu)

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0

Hi @shrikdm

checking your domain via https://check-your-website.server-daten.de/?q=dev-app.payswiftly.com - there is no expired certificate visible.

But you use Cloudflare, so your internal certificate is invisible.

And you have only one certificate

Issuer not before not after Domain names LE-Duplicate next LE
Let's Encrypt Authority X3 2019-08-02 2019-10-31 dev-app.payswiftly.com
1 entries

That's valid.

PS: Letsencrypt certificates are only 90 days valid, so "under 50 days" is normal.

Hi JuergenAuer,
The certificate got expired 3 days ago under 50 days so i had to run
sudo certbot renew --dry-run to renew it

My question is the certificate got expired under 50 days normally it takes 60 to 90 days.
why did it get expired before time?

--dry-run doesn't renew a certificate, that creates only a test certificate and doesn't install it.

Looks like you are doing something wrong. Perhaps you have created a new certificate, but didn't install it.

But you use Cloudflare, so your webserver is hidden.

What's your ip address?

1 Like

Every Let’s Encrypt certificate (so far) is valid for 90 days.

It’s common to renew certificates every 60 days.

But Let’s Encrypt does not issue certificates that are valid for only 50 or 60 days.

What certificate is expired? What software says it’s expired? What error message did you get?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.