mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Letsencrypt certificate generation/renewal deletes .well-known folder #435
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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