[GH-ISSUE #3806] Update custom SSL cert expiration date when SSL files change in the cert directory #2507

Open
opened 2026-02-26 07:35:49 +03:00 by kerem · 8 comments
Owner

Originally created by @begunfx on GitHub (Jun 13, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3806

Is your feature request related to a problem? Please describe.
Currently I'm generating SSL certs outside of NPM. I'm able to use a script to copy the certs into the custom cert folder inside of NPM on a cron/schedule. The issue is after the custom SSL cert is initially created, if I update the SSL files in the cert folder the date within the UI does not update.

Describe the solution you'd like
The simplest solution I can think of is to watch the cert folder for changes and if it is updated then write a new date from the SSL cert into the database and update the date in the UI.

Describe alternatives you've considered
I can't think of any other alternatives other than manually creating a new custom cert everytime it's about to expire - not a reasonable solution by any means.

Additional context
My SSL cert is by ZeroSSL.

Originally created by @begunfx on GitHub (Jun 13, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3806 **Is your feature request related to a problem? Please describe.** Currently I'm generating SSL certs outside of NPM. I'm able to use a script to copy the certs into the custom cert folder inside of NPM on a cron/schedule. The issue is after the custom SSL cert is initially created, if I update the SSL files in the cert folder the date within the UI does not update. **Describe the solution you'd like** The simplest solution I can think of is to watch the cert folder for changes and if it is updated then write a new date from the SSL cert into the database and update the date in the UI. **Describe alternatives you've considered** I can't think of any other alternatives other than manually creating a new custom cert everytime it's about to expire - not a reasonable solution by any means. **Additional context** My SSL cert is by ZeroSSL.
Author
Owner

@ManaZero37 commented on GitHub (Jun 24, 2024):

I'm also experiencing the same issue. I'm updating my certificates regularly using ACME, but it seems that the updated certificate files are not working.

<!-- gh-comment-id:2185434097 --> @ManaZero37 commented on GitHub (Jun 24, 2024): I'm also experiencing the same issue. I'm updating my certificates regularly using ACME, but it seems that the updated certificate files are not working.
Author
Owner

@moseslsy commented on GitHub (Jul 5, 2024):

Same issue here. I have to use a workaround by including the cert locations in the server.conf and selecting no SSL in the GUI

<!-- gh-comment-id:2211150557 --> @moseslsy commented on GitHub (Jul 5, 2024): Same issue here. I have to use a workaround by including the cert locations in the server.conf and selecting no SSL in the GUI
Author
Owner

@Yzzzed commented on GitHub (Jul 9, 2024):

Same problem.

<!-- gh-comment-id:2216140732 --> @Yzzzed commented on GitHub (Jul 9, 2024): Same problem.
Author
Owner

@cybaijie commented on GitHub (Jul 25, 2024):

I also need this function

<!-- gh-comment-id:2249237674 --> @cybaijie commented on GitHub (Jul 25, 2024): I also need this function
Author
Owner

@github-actions[bot] commented on GitHub (Feb 16, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2661192149 --> @github-actions[bot] commented on GitHub (Feb 16, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@begunfx commented on GitHub (Feb 17, 2025):

Please keep this issue open!

<!-- gh-comment-id:2663569975 --> @begunfx commented on GitHub (Feb 17, 2025): Please keep this issue open!
Author
Owner

@DarkIntaqt commented on GitHub (Jun 2, 2025):

The simplest solution I can think of is to watch the cert folder for changes and if it is updated then write a new date from the SSL cert into the database and update the date in the UI.

Or some sort of cronjob that checks regularly / on startup. Additionally (or at least) a button to refresh a custom SSL certificate on the dashboard would also do the job (somehow).

<!-- gh-comment-id:2930328596 --> @DarkIntaqt commented on GitHub (Jun 2, 2025): > The simplest solution I can think of is to watch the cert folder for changes and if it is updated then write a new date from the SSL cert into the database and update the date in the UI. Or some sort of cronjob that checks regularly / on startup. Additionally (or at least) a button to refresh a custom SSL certificate on the dashboard would also do the job (somehow).
Author
Owner

@zackeray commented on GitHub (Nov 12, 2025):

Same problem.

<!-- gh-comment-id:3521735198 --> @zackeray commented on GitHub (Nov 12, 2025): Same problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2507
No description provided.