NginxProxyManager / NginxProxyManager/nginx-proxy-manager
Update custom SSL cert expiration date when SSL files change in the cert directory
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the custom certificate storage and the code that reads its expiration date for the UI. Trace how certificate files are replaced, how the expiration is stored in the database, and how the UI displays it; done means replacing files in the custom certificate directory updates the stored expiration and displayed date.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, frontend, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100