Fixed openssl req command parameter
Related: rhbz#1985918
This commit is contained in:
parent
cd3fdc37bc
commit
efe558684f
@ -49,7 +49,7 @@
|
|||||||
Name: postfix
|
Name: postfix
|
||||||
Summary: Postfix Mail Transport Agent
|
Summary: Postfix Mail Transport Agent
|
||||||
Version: 3.5.9
|
Version: 3.5.9
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
URL: http://www.postfix.org
|
URL: http://www.postfix.org
|
||||||
License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
|
License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
|
||||||
@ -517,7 +517,7 @@ if [ ! -f %{sslcert} ]; then
|
|||||||
req_cmd="%{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \
|
req_cmd="%{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \
|
||||||
-subj /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}"
|
-subj /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}"
|
||||||
# openssl-3.0 and fallback for backward compatibility with openssl < 3.0
|
# openssl-3.0 and fallback for backward compatibility with openssl < 3.0
|
||||||
$req_cmd -noenc -copy_extension none 2>/dev/null || $req_cmd
|
$req_cmd -noenc -copy_extensions none 2>/dev/null || $req_cmd
|
||||||
chmod 644 %{sslcert}
|
chmod 644 %{sslcert}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -790,6 +790,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 3 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-12
|
||||||
|
- Fixed openssl req command parameter
|
||||||
|
Related: rhbz#1985918
|
||||||
|
|
||||||
* Tue Aug 3 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-11
|
* Tue Aug 3 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-11
|
||||||
- Fixed FTBFS with glibc-2.34
|
- Fixed FTBFS with glibc-2.34
|
||||||
Resolves: rhbz#1984045
|
Resolves: rhbz#1984045
|
||||||
|
Loading…
Reference in New Issue
Block a user