From 16255d485e1270889f51a0340d66be8e985b03fa Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 10 Feb 2022 13:08:48 +0100 Subject: Reduce certificate duration to 10 years (DoM #2174). --- src/certificate_chain.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/certificate_chain.cc b/src/certificate_chain.cc index f5092690..588676f8 100644 --- a/src/certificate_chain.cc +++ b/src/certificate_chain.cc @@ -194,8 +194,8 @@ CertificateChain::CertificateChain ( string leaf_common_name ) { - /* Valid for 25 years */ - int const days = 365 * 25; + /* Valid for 10 years */ + int const days = 365 * 10; auto directory = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path (); boost::filesystem::create_directories (directory); -- cgit v1.2.3