Is it possible to add a feature to check the certificate and reload the web server? #6163
Closed
3 tasks done
Labels
duplicate
Duplicate or merged issues.
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to request a feature or enhancement and not ask a question
The problem
Is it possible to incorporate a feature to periodically check certificate content and restart the web server?
I am currently using Synology's NAS DS420+ and the Docker version of AdGuard Home. I utilize Synology's DDNS and have Let's Encrypt automatically generate the relevant certificates.
I use a script to copy these certificates to the AdGuard Home's read path weekly, and I can see from the web page that the related information has been updated. However, recently when opening the AdGuard Home page in the browser, I've been alerted that the certificate in use is nearing expiration. I asked a question in the Q&A section and was informed that I need to manually restart the web server. (#6162 (comment))
Proposed solution
It would be fantastic if there could be a feature allowing users to define a period to check if certificate content has changed and to restart the web server at a specified time!
The certificates obtained from Let's Encrypt have a validity period of 90 days. If this feature could be added, it would be great to allow users to select the time interval (for example: monthly or weekly) and choose a specific reload time (e.g., 4 a.m. every Monday or 10 p.m. on the first day of each month) to facilitate automation and minimize impact on the service.
Alternatives considered and additional information
No response
The text was updated successfully, but these errors were encountered: