I am using certbot version 0.31 and it works on Ubuntu 18.04
How do I clear the old data from the / etc / letsencrypt directory?
I can't understand if there is any tool that cleans up archived data or if it needs to be done manually.
For example, there are many old certificates in the / etc / letsencrypt / acrhive / folder. What are they needed for?
I do not need to delete the certificate, since I am using it, but why do I need an archive of all certificates?
The / etc / letsencrypt / csr and / etc / letsencrypt / keys folder also contains a bunch of data related to the operation of the certbot.
It seems they can generally be removed safely.
If you do it manually, then I see the following algorithm.
- Go to the / etc / letsencrypt / live / folder
- There are symlinks to files in the / etc / letsencrypt / acrhive / folder
- We leave all these files, delete the rest.
- But in the folders / etc / letsencrypt / csr, / etc / letsencrypt / keys, we also leave only the last files. Or maybe we delete everything.
Is there a tool to clean up these files?
Well, in general, what thoughts do you have on this?