summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-10 13:08:48 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-10 13:08:48 +0100
commit16255d485e1270889f51a0340d66be8e985b03fa (patch)
tree055669df87146680432bf44ade5e529d2b1265d7
parent2dccdb319cd868d17c5401a584ed4fbf121cf257 (diff)
Reduce certificate duration to 10 years (DoM #2174).2174-cert-duration
-rw-r--r--src/certificate_chain.cc4
1 files 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);