You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed over here: AdguardTeam/AdGuardHome#6131
Please lower the default days as the key validity period for this server is excessively long (365 days).
Of course, it can be adjusted manually afterwards.
It seems to me a good idea to reduce the number of days, by default already significantly.
Thanks.
This default was chosen because the current implementation does not have a certificate rotation mechanism, the cert is only changed when you restart the server. This in turn will cause some troubles for the DNS client as there's no clear signal for when the client needs to fetch the new certificate, basically now it does that on every timeout error.
All in all, the task is much more complex than just changing a single constant.
What for the original claim that it reduces forward secrecy, I'd argue that the threat is a bit exaggerated.
Activity
ameshkov commentedon Aug 25, 2023
This default was chosen because the current implementation does not have a certificate rotation mechanism, the cert is only changed when you restart the server. This in turn will cause some troubles for the DNS client as there's no clear signal for when the client needs to fetch the new certificate, basically now it does that on every timeout error.
All in all, the task is much more complex than just changing a single constant.
What for the original claim that it reduces forward secrecy, I'd argue that the threat is a bit exaggerated.
ameshkov commentedon Sep 13, 2023
If the server runs for longer than 365 days, the clients won't be able to establish connection with it since the cert will be expired.