mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #2781] How to mount existing letsencrypt directory? #1912
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#1912
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 @drudgede on GitHub (Mar 30, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2781
For my required setup, I currently have all my letsencrypt certificates stored on an NFS drive and mount them to
/etc/letsencrypton each required host. So I tried to do the same with the Nginx Proxy Manager and mounted the existing path with/etc/letsencrypt:/etc/letsencryptinstead of./letsencrypt:/etc/letsencryptas given in the default configuration:This seems to work fine. I can see the directory on my local host:
And I can see in the docker container that the container can access them as well:
However, I am not able to access those certificates which are already existing when I use the web GUI.
The Nginx Proxy Manager seems to have no information about those certificates and I can only create new ones.
How can I make the certificates known to NPM? Did I mount an incorrect path structure?
@mricharz commented on GitHub (Apr 17, 2023):
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2347
@github-actions[bot] commented on GitHub (Jan 24, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@sagefarrenholz commented on GitHub (Nov 25, 2024):
Bump !
@shalafi99 commented on GitHub (Nov 25, 2024):
I think NPM does not "scan" the contents of the /letsencrypt directory ever, instead it controls status/presence of certificates through the related actions done inside the admin interface (which are reflected by updates to its own database).
I am inferring that based on a different experience I have had - in my case, I have a letsencrypt certificate which is managed outside of NPM.
I imported it using the "Add Certificate / Custom" WebUI option and I know NPM does not check the actual files because I have a script to copy over to NPM the updated certificate when it gets renewed and the expiration date shown in the WebUI still is the original import one (which I read somewhere here in Github that happens because it is information being read off its database instead of from the actual cert file present inside the filesystem).
It is a single certificate so for me, at least, not really a significant management overhead/bother.
That said, I would risk saying that the /letsencrypt folder mounted in NPM would be used solely for certificates which are/were requested using its own mechanism (instead of "external" ones). #2347 looks to be a request to change this behavior.
@sagefarrenholz commented on GitHub (Nov 26, 2024):
Bare minimum if we can import a local disk file (from the box not my browser) in the gui
Then I can sym link it or something
@github-actions[bot] commented on GitHub (Aug 12, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍
@alonsovb commented on GitHub (Aug 13, 2025):
Bumping since I'm also interested in this functionality
@sazeygit commented on GitHub (Dec 14, 2025):
bumping, also interested