From 83f3056cb24ec4bd6038c32dfe05469b66dcb294 Mon Sep 17 00:00:00 2001 From: eaglegai Date: Fri, 10 Mar 2023 07:00:22 +0000 Subject: [PATCH] modify Certificate validity period (cherry picked from commit a704eb7429dd4101b7aeda8163ecad64f0436849) --- postfix.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/postfix.spec b/postfix.spec index d2a9519..43479cb 100644 --- a/postfix.spec +++ b/postfix.spec @@ -23,7 +23,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 3.3.1 -Release: 19 +Release: 20 Epoch: 2 URL: http://www.postfix.org License: (IPL-1.0 and GPLv2+) or (EPL-2.0 and GPLv2+) @@ -383,7 +383,7 @@ if [ ! -f %{sslcert} ]; then FQDN=localhost.localdomain fi - %{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \ + %{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 730 -set_serial $RANDOM -out %{sslcert} \ -subj "/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}" chmod 644 %{sslcert} fi @@ -557,6 +557,12 @@ fi %{postfix_doc_dir}/README_FILES/* %changelog +* Fri Mar 10 2023 gaihuiying - 2:3.3.1-20 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:modify Certificate validity period + * Thu Mar 03 2022 gaihuiying - 2:3.3.1-19 - Type:bugfix - ID:NA