Browser says certificate expired but certificate is valid

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. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:
I ran this command:

certbot certificates

It produced this output:

Found the following certs:
Certificate Name:
Expiry Date: 2021-11-26 11:06:08+00:00 (VALID: 57 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/

My web server is (include version):
Server version: Apache/2.4.43 (Amazon)

The operating system my web server runs on is (include version):

Amazon Linux 2

My hosting provider, if applicable, is:

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

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 1.3.0

For some strange reason, even though my certificates are not expired, the browser says that it is expired and it happened all of a sudden yesterday.

Hi @madhukarsp, welcome to the LE community forum :slight_smile:
[and thank you for opening a separate topic]

Be sure that Apache is serving the full chain file:

It seems to be using only the cert.pem file:

Certificate chain
 0 s:/
   i:/C=US/O=Let's Encrypt/CN=R3

Let me check this right away. Thanks for such a quick response. I will get back in a few minutes.

1 Like

Here is my config.

SSLCertificateFile /etc/letsencrypt/live/
SSLCertificateKeyFile /etc/letsencrypt/live/
SSLCertificateChainFile /etc/letsencrypt/live/

Each of those points to

/etc/letsencrypt/live/ -> ../../archive/
/etc/letsencrypt/live/ -> ../../archive/
/etc/letsencrypt/live/ -> ../../archive/

Anything wrong here?


That is a very old style of coding.
Change it to:
[only two lines required NOT three]

SSLCertificateFile /etc/letsencrypt/live/
SSLCertificateKeyFile /etc/letsencrypt/live/
#SSLCertificateChainFile /etc/letsencrypt/live/



@rg305 You are a savior. God sent! Thanks a ton. My problem is solved.


Glad to help :slight_smile:
Cheers from Miami :beers:

#FreeCUBA :cuba:

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