Let’s Encrypt still displays the old expiration date after renewal

Share this post to your friends !
  • 1
    Share

Let’s Encrypt still displays the old expiration date after renewal
5 (100%) 1 vote[s]

DanieBlog - Today, I encountered a problem related to Let’s Encrypt certificate. One of my blog expired SSL certificates. I set up a weekly auto-renewal, why the Let’s Encrypt certificate has renewed, but the browser still shows the old expiration date?

Why Let’s Encrypt still displays the old expiration date?

Although all certificates have been renewed, even, I have personally made the renewal order again. Results showed that the certificates were successfully renewed. So why does the browser still show the old expiration date? Why is there an SSL error?

lets-encrypt-still-displays-the-old-expiration-date-after-renewal Let's Encrypt still displays the old expiration date after renewal
Information Let’s Encrypt SSL certificate.

After a moment of searching, I found that not only myself encountered this problem. I found an article on the community Let’s Encrypt also talk about this issue.

The reason is:

  • I use certbot to create and renewal SSL Certificates Let’s Encrypt.
  • Certbot does not automatically match the newly renewed certificate to the configuration of the web server.

Automatically renew and restart the web server

Of course, you can not wait until the expiration date of the SSL certificate and manually renew it. Automating is one thing to do.

I edited the crontab:

0 0 1 * * /usr/bin/certbot-auto renew --force-renewal > /var/log/letsencrypt/certbot-renew.log && [command-to-restart-your-web-server]

Crontab will automatically renew certificates at 12:00 am on the first day of each month (each certificate expires 3 months) and restart the web server.

Conclusion

Even if it’s a small problem, you may not notice or know. Thankfully, I am all checking my blog every day. So I discovered it quickly. I’ve edited what I need, now I’ll wait until the next expiration date to see what the results are.

If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.


Share this post to your friends !
  • 1
    Share
If you appreciate what we share in this blog, you can support us by:
  1. Stay connected to: Facebook | Twitter | Google Plus | YouTube
  2. Subscribe email to recieve new posts from us: Sign up now.
  3. Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
  4. Become a Supporter - Make a contribution via PayPal.
  5. Support us by purchasing Ribbon Lite Child theme being using on this website.

We are thankful for your support.

single post bottom banner
«« »»

Got something to say? Join the discussion

Please keep in mind that all comments are subject to our Comment Policy. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed.