[damned-lies/oscp-testing] TLS terminates on the routers



commit b75cc639b5736c3931a04eca59a51a53177da50b
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 8 13:31:07 2021 +0200

    TLS terminates on the routers

 Dockerfile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index c1efab2e..a2f9b6ca 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM centos/s2i-base-centos8
 
 USER root
 RUN INSTALL_PKGS="python39 platform-python-devel platform-python-setuptools python39-pip python39-mod_wsgi 
python39-lxml \
-        httpd httpd-devel mod_ssl mod_ldap mod_session \
+        httpd httpd-devel mod_ldap mod_session \
         atlas-devel gcc-c++ gcc-gfortran libffi-devel libtool-ltdl enchant wget \
         gettext gnome-doc-utils intltool itstool libicu-devel mariadb-devel subversion yelp-tools" && \
     yum update -y && \
@@ -15,13 +15,10 @@ RUN sed -ri ' s!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g; s!^(\s*ErrorLog)\s+\
     sed -ri ' s!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g; s!^(\s*TransferLog)\s+\S+!\1 /proc/self/fd/1!g; 
s!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g;' /etc/httpd/conf.d/ssl.conf && \
     rm -f /etc/httpd/conf.d/mod_security.conf
 
-RUN sed -i 's/Listen\ 80/Listen\ 8080/' /etc/httpd/conf/httpd.conf && \
-    sed -i 's/Listen\ 443/Listen\ 8443/' /etc/httpd/conf.d/ssl.conf && \
-    sed -i 's/_default_:443/_default_:8443/' /etc/httpd/conf.d/ssl.conf
+RUN sed -i 's/Listen\ 80/Listen\ 8080/' /etc/httpd/conf/httpd.conf
 
 RUN groupadd l10n -g 1000660000 && \
     useradd l10n -g 1000660000 -u 1000660000 -G apache -r -l -m && \
-    chown l10n:l10n /etc/pki/tls/certs/localhost.crt /etc/pki/tls/private/localhost.key && \
     chown l10n:l10n /var/run/httpd && \
     mkdir -p /l10n && \
     git clone --depth 1 --branch testing --single-branch 
https://gitlab.gnome.org/Infrastructure/damned-lies.git /l10n/damnedlies


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]