mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[PR #3392] [MERGED] Make auto-renew use built-in renew function #3694
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#3694
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?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3392
Author: @stevecrozz
Created: 12/15/2023
Status: ✅ Merged
Merged: 1/12/2024
Merged by: @jc21
Base:
develop← Head:auto-renew-uses-bulitin-renew📝 Commits (3)
fe4bd9fMake auto-renew use built-in renew functionf7d1c49Run renews sequentially9c54d1bProvide the token model for certificate renewal📊 Changes
1 file changed (+46 additions, -55 deletions)
View changed files
📝
backend/internal/certificate.js(+46 -55)📄 Description
As a complete newcomer to this project, this is my attempt to fix certificate auto-renew issues #1916 where manual renew works, but automatic renew does not. This changes proposes we replace the functionality inside automatic renewal with a call to the same function used for manual renewal.
Specifically, I have replaced the certbot 'renew everything' command with a DB-driven one-by-one renewal. Determining which certificates need renewal is a pretty naive time based DB query, and access control is completely bypassed with
Promise.resolve({ permission_visibility: 'all' }because I assume it isn't needed for a background job.I'm not sure yet how to best contribute to this project, and I'm sure there are some issues with this so please do guide me as I'm brand new here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.