diff --git a/sendmail.spec b/sendmail.spec index db10710b7295deb77492277509cf3c6757bbc873..cabb6610f0b8d3252358645ed7228495d174e1ae 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.17.1 -Release: 6 +Release: 7 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -342,7 +342,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 @@ -467,6 +467,12 @@ exit 0 %changelog +* Fri Mar 10 2023 xinghe - 8.17.1-7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: modify certificate validity period + * Tue Dec 13 2022 xinghe - 8.17.1-6 - Type:bugfix - ID:NA