Resolves: #2160667 - prevent sscg creating /dhparams.pem
This commit is contained in:
parent
29ba282799
commit
f38bb25abe
|
@ -8,5 +8,6 @@ ConditionPathExists=|!/etc/pki/tls/private/localhost.key
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=no
|
RemainAfterExit=no
|
||||||
|
PrivateTmp=true
|
||||||
|
|
||||||
ExecStart=/usr/libexec/httpd-ssl-gencerts
|
ExecStart=/usr/libexec/httpd-ssl-gencerts
|
||||||
|
|
|
@ -33,6 +33,7 @@ sscg -q \
|
||||||
--cert-file /etc/pki/tls/certs/localhost.crt \
|
--cert-file /etc/pki/tls/certs/localhost.crt \
|
||||||
--cert-key-file /etc/pki/tls/private/localhost.key \
|
--cert-key-file /etc/pki/tls/private/localhost.key \
|
||||||
--ca-file /etc/pki/tls/certs/localhost.crt \
|
--ca-file /etc/pki/tls/certs/localhost.crt \
|
||||||
|
--dhparams-file /tmp/dhparams.pem \
|
||||||
--lifetime 365 \
|
--lifetime 365 \
|
||||||
--hostname $FQDN \
|
--hostname $FQDN \
|
||||||
--email root@$FQDN
|
--email root@$FQDN
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
Summary: Apache HTTP Server
|
Summary: Apache HTTP Server
|
||||||
Name: httpd
|
Name: httpd
|
||||||
Version: 2.4.53
|
Version: 2.4.53
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
URL: https://httpd.apache.org/
|
URL: https://httpd.apache.org/
|
||||||
Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
|
Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
|
||||||
Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc
|
Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc
|
||||||
|
@ -215,7 +215,7 @@ Epoch: 1
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
Requires(pre): httpd-filesystem
|
Requires(pre): httpd-filesystem
|
||||||
Requires: httpd-core = 0:%{version}-%{release}, httpd-mmn = %{mmnisa}
|
Requires: httpd-core = 0:%{version}-%{release}, httpd-mmn = %{mmnisa}
|
||||||
Requires: sscg >= 2.2.0, /usr/bin/hostname
|
Requires: sscg >= 3.0.0-7, /usr/bin/hostname
|
||||||
# Require an OpenSSL which supports PROFILE=SYSTEM
|
# Require an OpenSSL which supports PROFILE=SYSTEM
|
||||||
Conflicts: openssl-libs < 1:1.0.1h-4
|
Conflicts: openssl-libs < 1:1.0.1h-4
|
||||||
|
|
||||||
|
@ -867,6 +867,9 @@ exit $rv
|
||||||
%{_rpmconfigdir}/macros.d/macros.httpd
|
%{_rpmconfigdir}/macros.d/macros.httpd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 24 2023 Luboš Uhliarik <luhliari@redhat.com> - 2.4.53-10
|
||||||
|
- Resolves: #2160667 - prevent sscg creating /dhparams.pem
|
||||||
|
|
||||||
* Thu Dec 08 2022 Luboš Uhliarik <luhliari@redhat.com> - 2.4.53-9
|
* Thu Dec 08 2022 Luboš Uhliarik <luhliari@redhat.com> - 2.4.53-9
|
||||||
- Resolves: #2143176 - Dependency from mod_http2 on httpd broken
|
- Resolves: #2143176 - Dependency from mod_http2 on httpd broken
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue