From c19449d102321ba711877ba6efc8da0cdb477d00 Mon Sep 17 00:00:00 2001 From: xh Date: Wed, 12 Feb 2025 03:45:02 +0000 Subject: [PATCH] extending the certificate validate period --- sendmail.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sendmail.spec b/sendmail.spec index a54ddf9..08f09b5 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.18.1 -Release: 1 +Release: 2 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 730 -set_serial $RANDOM -out %{_sysconfdir}/pki/tls/certs/sendmail.pem \ + -days 2190 -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 +* Wed Feb 12 2025 xinghe - 8.18.1-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:extending the certificate validate period + * Mon Sep 23 2024 liweigang - 8.18.1-1 - Type: requirements - ID: NA -- Gitee