Letsencrypt certificate generation/renewal deletes .well-known folder #435

Closed
opened 2026-04-05 20:27:52 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @redispade on 1/30/2023

CloudPanel version(s) affected

2.2.0

Description

Once you generate a Letsencrypt certificate, it cleans up aggressively, deleting the whole .well-known folder.
that folder is being used for mta-sts configuration: https://dmarcian.com/mta-sts/

How to reproduce

create a website, create manually .well-known folder on the root of the website, place some file inside. generate a certificate with letsencrypt.

Possible Solution

Configure the panel to delete .well-known/acme-challenge/* instead of deleting the whole .well-known folder

Additional Context

No response

*Originally created by @redispade on 1/30/2023* ### CloudPanel version(s) affected 2.2.0 ### Description Once you generate a Letsencrypt certificate, it cleans up aggressively, deleting the whole .well-known folder. that folder is being used for mta-sts configuration: https://dmarcian.com/mta-sts/ ### How to reproduce create a website, create manually .well-known folder on the root of the website, place some file inside. generate a certificate with letsencrypt. ### Possible Solution Configure the panel to delete .well-known/acme-challenge/* instead of deleting the whole .well-known folder ### Additional Context _No response_
Sign in to join this conversation.