From 5ac943c14b2c87f01585de9cfb3ab460578b9039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Fri, 31 Mar 2023 13:31:40 +0200 Subject: [PATCH] Set CRL expiration time to 10 years MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test crl.pem had set expiration date to 30 days. Let's set this to 10 years, so we don't need to deal with it any time soon in tests. Signed-off-by: Michal Konečný --- fedmsg/tests/test_certs/keys/crl.pem | 10 +++++----- fedmsg/tests/test_certs/openssl-1.0.0.cnf | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fedmsg/tests/test_certs/keys/crl.pem b/fedmsg/tests/test_certs/keys/crl.pem index 5b30d4e..4f936ce 100644 --- a/fedmsg/tests/test_certs/keys/crl.pem +++ b/fedmsg/tests/test_certs/keys/crl.pem @@ -2,9 +2,9 @@ MIIBfDCB5jANBgkqhkiG9w0BAQsFADCBoDELMAkGA1UEBhMCVVMxCzAJBgNVBAgT Ak5DMRAwDgYDVQQHEwdSYWxlaWdoMRcwFQYDVQQKEw5GZWRvcmEgUHJvamVjdDEP MA0GA1UECxMGZmVkbXNnMQ8wDQYDVQQDEwZmZWRtc2cxDzANBgNVBCkTBmZlZG1z -ZzEmMCQGCSqGSIb3DQEJARYXYWRtaW5AZmVkb3JhcHJvamVjdC5vcmcXDTIzMDIy -MDExNDMxMloXDTIzMDMyMjExNDMxMlowFDASAgECFw0yMzAyMjAxMTQzMTJaMA0G -CSqGSIb3DQEBCwUAA4GBAIb9vNsCtXbBZrVjpcf2eq3lrpKY7maDjvDZGckQkdyr -edk6B0rumMW0T4MKCJ8aBl/5yBIix6DJB27yvCyuKqWHUPkMvZ1imL+oSDmk/vPQ -c+yD98NxhuXp8z3INRhKL+iCuns1/TRkIe4KFqEz7FY5RsPw/MtOhKWByMPeS7Ok +ZzEmMCQGCSqGSIb3DQEJARYXYWRtaW5AZmVkb3JhcHJvamVjdC5vcmcXDTIzMDMz +MTExMjc0M1oXDTMzMDMyODExMjc0M1owFDASAgECFw0yMzAyMjAxMTQzMTJaMA0G +CSqGSIb3DQEBCwUAA4GBAHVNyWWdkk/EXlddsCZECNi0EiuXNIKEOfCCxl9nKh0t +mIm17mXFoRSoWXg4BzyUNWj5q5+vMpaAaFQDj08zgn299LgItdH/9sfNp4MnFclT +O8jEk8lDcvBxK250/YbIWzWpymwKHG3UF2LrGedyy5K5V5qvg9Ajj+pulUo7Pr9q -----END X509 CRL----- diff --git a/fedmsg/tests/test_certs/openssl-1.0.0.cnf b/fedmsg/tests/test_certs/openssl-1.0.0.cnf index 109c46b..0205307 100644 --- a/fedmsg/tests/test_certs/openssl-1.0.0.cnf +++ b/fedmsg/tests/test_certs/openssl-1.0.0.cnf @@ -53,7 +53,7 @@ x509_extensions = usr_cert # The extentions to add to the cert # crl_extensions = crl_ext default_days = 3650 # how long to certify for -default_crl_days= 30 # how long before next CRL +default_crl_days= 3650 # how long before next CRL default_md = sha256 # use public key default MD preserve = no # keep passed DN ordering