Certificate renewed but expired one is being used

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: karenlsullivan.com

I ran this command:
I renewed my certificate using Certbot a week or two before it was set to expire and everything went well. And when I do “Certbot certificates” I get this output:
Found the following certs:
Certificate Name: karenlsullivan.com
Domains: karenlsullivan.com *.karenlsullivan.com
Expiry Date: 2019-12-19 00:59:31+00:00 (VALID: 75 days)
Certificate Path: /etc/letsencrypt/live/karenlsullivan.com/fullchain.
Looks good, I think.

It produced this output:
The problem is that when someone tries to access the site it says the certificate is expired and warns them not to continue.

My web server is (include version):
Server version: Apache/2.4.37 (Unix)

The operating system my web server runs on is (include version):slight_smile:NAME=“Ubuntu”
VERSION=“16.04.5 LTS (Xenial Xerus)”

My hosting provider, if applicable, is: Amazon web services Lightsail

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):no

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

So the server apparently thinks the certificate is valid/not expired, but the actual web site is finding the expired certificate.

Any help would be appreciated.

1 Like

Hi @jimheumann

checking your domain there is an expired certificate:

0 days expired	
*.karenlsullivan.com, karenlsullivan.com - 2 entries

Did you restart your webserver? That's required to use the new certificate.

It's your second certificate

Issuer not before not after Domain names LE-Duplicate next LE
Let's Encrypt Authority X3 2019-09-19 2019-12-18 *.karenlsullivan.com, karenlsullivan.com
2 entries
Let's Encrypt Authority X3 2019-07-05 2019-10-03 *.karenlsullivan.com, karenlsullivan.com
2 entries

so it's your first renew. Perhaps you have used --manual.

1 Like

That did it. Thank you!



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