Clean old certificate files #117

Closed
opened 2025-12-29 00:25:10 +01:00 by adam · 2 comments
Owner

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.

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.
adam closed this issue 2025-12-29 00:25:10 +01:00
Author
Owner

@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).

@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).
Author
Owner

@lukas2511 commented on GitHub (Jun 25, 2016):

--cleanup (-gc) Move unused certificate files to archive directory

@lukas2511 commented on GitHub (Jun 25, 2016): `--cleanup (-gc) Move unused certificate files to archive directory`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#117