# Automatic Renewal of Let's Encrypt certificates

**URL:** <https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315>\
**Category:** Traefik v2\
**Tags:** letsencrypt-acme\
**Created:** [April 19, 2023, 8:46am UTC](https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315 "2023-04-19T08:46:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yash](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/yash/32/6969_2.png) [@yash](https://community.traefik.io/u/yash)\
**Post date:** [April 19, 2023, 8:46am UTC](https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315/1 "2023-04-19T08:46:15Z")

</div>

I have configured my website with Let's encrypt using Traefik. The certificate says that it will be valid for 3 months. However I wanted to know if the certificate auto-renews before the expiry.

On Traefik documentation, it was written that it renews automatically after every 2 months. But I noted that for my website, it didn't renew.

Looking for ways to auto-renew it before the expiry. Detailed steps if possible.

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [April 19, 2023, 4:01pm UTC](https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315/2 "2023-04-19T16:01:39Z")

</div>

This has been discussed recently ([post](https://community.traefik.io/t/how-to-force-trigger-let-s-encrypt-certificate-generation-without-restarting-traefik/17747)), you can not manually trigger a LE cert refresh.

---

<div class="post-metadata">

**Author:** ![yash](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/yash/32/6969_2.png) [@yash](https://community.traefik.io/u/yash)\
**Post date:** [April 20, 2023, 7:24am UTC](https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315/3 "2023-04-20T07:24:40Z")

</div>

Ok, I saw it was mentioned on the TRAEFIK doc that the certificate renew automatically.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/b/b39e0177877aae5e5a0bc62776e913a1c35252f9.png)

> **[Traefik Let's Encrypt Documentation - Traefik](https://doc.traefik.io/traefik/https/acme/)**
>
> Learn how to configure Traefik Proxy to use an ACME provider like Let's Encrypt for automatic certificate generation. Read the technical documentation.

---

<div class="post-metadata">

**Author:** ![mattcd216](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mattcd216](https://community.traefik.io/u/mattcd216)\
**Post date:** [February 23, 2024, 3:22pm UTC](https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315/4 "2024-02-23T15:22:49Z")

</div>

Did we confirm the auto-renewal @yash ?  
I have traefik as a reverse proxy for several apps (on docker containers) and I'm only 10 days away from cert expiry... wanting to know if I should do anything or if it will magically do it as the docs suggest.

Thanks

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [February 23, 2024, 6:36pm UTC](https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315/5 "2024-02-23T18:36:28Z")

</div>

By default LetsEncrypt certs are valid for 90 days, at around 30 days before expiry they are renewed.

You should check your Traefik logs for "error" and "acme".

---

<div class="post-metadata">

**Author:** ![mattcd216](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mattcd216](https://community.traefik.io/u/mattcd216)\
**Post date:** [February 26, 2024, 2:46pm UTC](https://community.traefik.io/t/automatic-renewal-of-lets-encrypt-certificates/18315/6 "2024-02-26T14:46:04Z")

</div>

Bingo. DNS errors. Little tweak with cloudflare setup and we’re good.  
Thanks!
