My site used to work with HTTPS, but now it shows “certificate expired”. #3023
-
I have a website hosted on a VPS, deployed using Dokploy (Traefik handles HTTPS via Let’s Encrypt).
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
are you using a dns challenge for certificates? the standard http challenge from lets encrypt only works with direct access to port 80 |
Beta Was this translation helpful? Give feedback.
-
|
My Setup / Problem
Solution: Switched to DNS Challenge Since Traefik supports DNS challenge via LEGO, I did the following: 1.Checked LEGO DNS provider support My DNS provider Porkbun is supported. 2.Added API key and secret to Traefik environment Dokploy → Webserver → Traefik → Modify Environments 3.Updated traefik.yaml to use DNS challenge Traefik File System → traefik.yaml 4.Updated domain config to use custom certificate provider and used letsencrypt-dns as defined above: |
Beta Was this translation helpful? Give feedback.




My Setup / Problem
Solution: Switched to DNS Challenge
Since Traefik supports DNS challenge via LEGO, I did the following:
1.Checked LEGO DNS provider support
Docs:
https://go-acme.github.io/lego/dns/
My DNS provider Porkbun is supported.
2.Added API key and secret to Traefik environment
Dokploy → Webserver → Traefik → Modify Environments
3.Updated traefik.yaml to use DNS challenge
Traefik File System → traefik.yaml
4.Updated domain config to use custom certificate prov…