uhttpd: Decrease the default validity time of certificate
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 1 May 2024 10:53:34 +0000 (13:53 +0300)
committerRobert Marko <robimarko@gmail.com>
Tue, 13 Aug 2024 19:07:13 +0000 (21:07 +0200)
commit0b7d99147b721c9bc95e9a0caacd300227d10375
treec60fcec87c644914a4069f422017fe5e0d619c84
parentdb4e8ef952f45e6b58467ffc82528cfae54dea42
uhttpd: Decrease the default validity time of certificate

The recommended maximum validity period is currently 397 days
and some browsers throw warning with longer periods.

Reference to
https://cabforum.org/working-groups/server/baseline-requirements/
 6.3.2 Certificate operational periods and key pair usage periods
 Subscriber Certificates issued on or after 1 September 2020
 SHOULD NOT have a Validity Period greater than 397 days and
 MUST NOT have a Validity Period greater than 398 days.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/15366
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/uhttpd.config
package/network/services/uhttpd/files/uhttpd.init