diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-02-10 13:08:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-02-10 13:08:48 +0100 |
| commit | 16255d485e1270889f51a0340d66be8e985b03fa (patch) | |
| tree | 055669df87146680432bf44ade5e529d2b1265d7 | |
| parent | 2dccdb319cd868d17c5401a584ed4fbf121cf257 (diff) | |
Reduce certificate duration to 10 years (DoM #2174).2174-cert-duration
| -rw-r--r-- | src/certificate_chain.cc | 4 |
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); |
