From e377dce8818ecd55bb599a8532376cf55e56381a Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 30 Nov 2012 16:20:24 -0500 Subject: [PATCH] Fixed regression on expiration date of CA and SSL certs --- src/com/gitblit/authority/GitblitAuthority.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/gitblit/authority/GitblitAuthority.java b/src/com/gitblit/authority/GitblitAuthority.java index ed942e58..d97a8e39 100644 --- a/src/com/gitblit/authority/GitblitAuthority.java +++ b/src/com/gitblit/authority/GitblitAuthority.java @@ -345,6 +345,7 @@ public class GitblitAuthority extends JFrame implements X509Log { X509Metadata metadata = new X509Metadata("localhost", caKeystorePassword); setMetadataDefaults(metadata); + metadata.notAfter = new Date(System.currentTimeMillis() + 10*TimeUtils.ONEYEAR); X509Utils.prepareX509Infrastructure(metadata, folder, this); return true; } -- 2.39.5