mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #921] Adding new subdomains to existing certificate #779
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#779
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 @crovaxon on GitHub (Mar 1, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/921
Are you in the right place?
I hope I am, as I am considering this a feature request I could not find by searching in the existing issues.
Is your feature request related to a problem? Please describe.
Currently there is no way to add subdomains to an existing certificate using the UI, unless I am mistaken. I would have to remove my existing certificate and reissue it with all previous subdomains including the new one. I haven't done that yet because I did not want to risk breaking my existing proxy settings and potentially have to edit each and set the certificate again after having it recreated.
Describe the solution you'd like
Ability to add one or more new subdomains to an existing certificate via the comfortable UI this project offers. Certbot itself is able to do so via expanding onto the existing certificate. This will renew it and also add the new domains. See https://certbot.eff.org/docs/using.html#re-creating-and-updating-existing-certificates
Describe alternatives you've considered
Dropping to terminal in my docker instance and manually interacting with certbot to do the expansion like I was doing it prior to switching to NGM as my reverse proxy. I do not plan to add subdomains very often but when I do, it would be nice to not have to it manually. Also I am not sure if NGM will actually pick up on the manual change, which is why I have not tried to do that yet.
Additional context
No extra context
@steffenrh commented on GitHub (Apr 25, 2021):
Sorry, I couldn't find another way to upvote this enhancement proposal. But I painfully miss this feature, too. I've already made a cert expansion once, but it is pretty laborious:
Having an "Add subdomain" / "Edit subdomains" button would be a vast improvement for the whole process.
@GAS85 commented on GitHub (Feb 20, 2023):
I use LetsEncrypt for a longer time and there is even no need to
expandCertificate. You can simply add new domains to existing one with command via Changing a Certificate’s Domains:Or remove from the Certification via:
So, basically there is ZERO changes in code, because you are using this feature already with domain separation via
,. What is missing is only Edit button.UPDATE:
Workaround how to add/remove domain manually.
npm-prefix. E.g. if your container name isnpm:npm-2. You have to provide all domainsOutput:
@github-actions[bot] commented on GitHub (Mar 17, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@GAS85 commented on GitHub (Mar 17, 2024):
👍
@crovaxon commented on GitHub (Mar 21, 2024):
👍
@github-actions[bot] commented on GitHub (Dec 14, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@GAS85 commented on GitHub (Dec 14, 2024):
👍
@github-actions[bot] commented on GitHub (Nov 10, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍
@GAS85 commented on GitHub (Nov 10, 2025):
👍