nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Update custom SSL cert expiration date when SSL files change in the cert directory

Open begunfx opened this issue 1 year ago • 8 comments

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.

begunfx avatar Jun 13 '24 18:06 begunfx

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.

xingtong00 avatar Jun 24 '24 01:06 xingtong00

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

moseslsy avatar Jul 05 '24 16:07 moseslsy

Same problem.

Yzzzed avatar Jul 09 '24 01:07 Yzzzed

I also need this function

cybaijie avatar Jul 25 '24 02:07 cybaijie

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

github-actions[bot] avatar Feb 16 '25 02:02 github-actions[bot]

Please keep this issue open!

begunfx avatar Feb 17 '25 16:02 begunfx

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).

DarkIntaqt avatar Jun 02 '25 11:06 DarkIntaqt

Same problem.

zackeray avatar Nov 12 '25 12:11 zackeray