mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #737] Thousands of xxxx_csr-certbot.pem file in csr folder #625
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#625
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @lettore on GitHub (Nov 21, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/737
Hello
I'm using NPM from long time and I'm really happy with it.
Today I found that in the csr folder of letsencrypt I have more than 33k files named xxxx_csr-certbot.pem and the same in keys directory named xxxx_key-certbot.pem.
There is a way to delete the unused files, I have only 126 certificates at the moment so I don't really understand why it keep creating so many *.pem files.
Thank you in advance.
@jc21 commented on GitHub (Nov 22, 2020):
I think this would be a certbot issue. 33k does seem like an excessive amount!
@lettore commented on GitHub (Nov 23, 2020):
Maybe it is, but at the moment how I can know which files are currently
used as active certificates from NPM?
There should be a way to delete the unused files.
Il Lun 23 Nov 2020, 00:48 jc21 notifications@github.com ha scritto:
@jc21 commented on GitHub (Nov 23, 2020):
I've just had a google and this answer suggests that these csr files can be removed without impact. I've got 14k of them myself and I just deleted them without any problems.
@thomasesr commented on GitHub (Jun 7, 2021):
I got 17,544 keys and csr files. Does anyone knows why this happens?
@chaptergy commented on GitHub (Jun 7, 2021):
Linking some info:
@LiamKarlMitchell commented on GitHub (Aug 8, 2023):
To remove these files from nginx proxy manager I read through the link suggested by jc21
I had to cd to each keys or csr directory.
And run the following.
Can probably delete them all but rm -rf * said there were too many args, this was taking up a decent chunk of disk space on my dev wsl2 after a few years.
If the change to not save them to disk was made in letsencrypt, maybe nginx-proxy-manager is still using an older version of letsencrypt?
I haven't updated my nginx proxy manager in a fair while so if it's already fixed no worries.