mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
Clean old certificate files #117
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 @ghost on GitHub (Jun 25, 2016).
I've been running this nice script for some time now and I've noticed that my CERTDIR is filling up with old and expired certificate files. For example, one of my servers already has more than 320 expired certificate files (csr/pem combos).
Should this script be responsible for cleaning up those expired certificates, or do you think we should write our own thing to clean them up?
I'd appreciate your thoughts.
Thank you.
@seefood commented on GitHub (Jun 25, 2016):
I personally would not want the script to clean this up by default. also, it's a one-line cron job to clean this up (or in a hook), so it's better to separate this functionality (per the Unix doctrine).
@lukas2511 commented on GitHub (Jun 25, 2016):
--cleanup (-gc) Move unused certificate files to archive directory