diff options
Diffstat (limited to 'docker/base/httpd_setup.sh')
| -rw-r--r-- | docker/base/httpd_setup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/base/httpd_setup.sh b/docker/base/httpd_setup.sh index 3dbf84853..5232f4ed1 100644 --- a/docker/base/httpd_setup.sh +++ b/docker/base/httpd_setup.sh @@ -24,7 +24,9 @@ if [[ "$(whoami)" == 'root' ]]; then # on startup: # SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty # Work around this by generating certificates manually. + # NOTE(mnasiadka): in EL9 upgrade jobs gencerts is failing on wrong permissions to dhparams.pem if [[ "${KOLLA_BASE_DISTRO}" =~ centos|rocky ]] && [[ ! -e /etc/pki/tls/certs/localhost.crt ]]; then + rm -f /tmp/dhparams.pem /usr/libexec/httpd-ssl-gencerts fi fi |
