Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add a feature to check the certificate and reload the web server? #6163

Closed
3 tasks done
pass12335 opened this issue Sep 2, 2023 · 1 comment
Closed
3 tasks done
Labels
duplicate Duplicate or merged issues.

Comments

@pass12335
Copy link

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

@ainar-g
Copy link
Contributor

ainar-g commented Sep 4, 2023

Duplicate of #3962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate or merged issues.
Projects
None yet
Development

No branches or pull requests

2 participants