From f3b9f8c29037ddb4a9a8e5908e143f7acd11ad24 Mon Sep 17 00:00:00 2001 From: xinghe Date: Fri, 10 Mar 2023 07:45:27 +0000 Subject: [PATCH] modify certificate validity period --- sendmail.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sendmail.spec b/sendmail.spec index 5fcb9cf..336206d 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.16.1 -Release: 9 +Release: 10 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -344,7 +344,7 @@ if [ ! -f %{_sysconfdir}/pki/tls/certs/sendmail.pem ]; then fi %{_bindir}/openssl req -new -key %{_sysconfdir}/pki/tls/private/sendmail.key -x509 -sha256 \ - -days 365 -set_serial $RANDOM -out %{_sysconfdir}/pki/tls/certs/sendmail.pem \ + -days 730 -set_serial $RANDOM -out %{_sysconfdir}/pki/tls/certs/sendmail.pem \ -subj "/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}" chmod 600 %{_sysconfdir}/pki/tls/certs/sendmail.pem fi @@ -469,6 +469,12 @@ exit 0 %changelog +* Fri Mar 10 2023 xinghe - 8.16.1-10 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: modify certificate validity period + * Thu Dec 15 2022 xinghe - 8.16.1-9 - Type:bugfix - ID:NA -- Gitee