This commit is contained in:
jessikitty committed 2026-09-30 12:48:16 +10:00
1 parent 06b4616356
commit 215c38849b
5 files changed
+167 -8

No files matched your search

+3 -1
View File
@@ -17,7 +17,9 @@ import { createZip } from './zip.js';
*/
const CA_DAYS = 3650;
const SERVER_DAYS = 398;
// Apple rejects a TLS server certificate whose validity exceeds 398 days. Exactly
// 398 sits on the line with no room for rounding or clock skew, so leave a margin.
const SERVER_DAYS = 396;
const RENEW_WITHIN_DAYS = 30;
function certDir() {