From 9986b17267338d14aa7664e70b85645cc91f04ae Mon Sep 17 00:00:00 2001 From: maany Date: Tue, 12 Mar 2024 16:49:13 +0100 Subject: [PATCH] rucio-ui: use http is ssl is disabled. --- ui/rucio.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/rucio.conf.j2 b/ui/rucio.conf.j2 index e4dad95..0da6eac 100644 --- a/ui/rucio.conf.j2 +++ b/ui/rucio.conf.j2 @@ -37,6 +37,7 @@ CacheRoot /tmp ServerAdmin rucio-admin@cern.ch {% endif %} +{% if RUCIO_ENABLE_SSL|default('False') == 'True' %} SSLEngine on SSLCertificateFile /etc/grid-security/hostcert.pem SSLCertificateKeyFile /etc/grid-security/hostkey.pem @@ -54,7 +55,6 @@ CacheRoot /tmp SSLOptions +StdEnvVars {% endif %} SSLProxyEngine On - {% if RUCIO_SSL_PROTOCOL is defined %} #AB: SSLv3 disable SSLProtocol {{ RUCIO_SSL_PROTOCOL }} @@ -63,6 +63,8 @@ CacheRoot /tmp {% endif %} #AB: for Security SSLCipherSuite HIGH:!CAMELLIA:!ADH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!3DES +{% endif %} + {% if RUCIO_LOG_LEVEL is defined %} LogLevel {{ RUCIO_LOG_LEVEL }} {% else %}