Skip to content

Commit 31851ee

Browse files
FabulousCupcakejoeferner
authored andcommitted
Reduce certificate validity period to 1 year
1 parent 248243a commit 31851ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ca.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export class CA {
282282
);
283283
certServer.validity.notAfter = new Date();
284284
certServer.validity.notAfter.setFullYear(
285-
certServer.validity.notBefore.getFullYear() + 2
285+
certServer.validity.notBefore.getFullYear() + 1
286286
);
287287
const attrsServer = ServerAttrs.slice(0);
288288
attrsServer.unshift({

0 commit comments

Comments
 (0)