summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:21 +0000
commitc8ff5a8641a1c8e41b1ba8d7f4be9a31a4b8ecb5 (patch)
treeb70a8f066260029ca7b65190ee243758993a85af
parentSetting additional Set-Cookie options HttpOnly;SameSite=Strict;Secure. (diff)
downloadapache2-c8ff5a8641a1c8e41b1ba8d7f4be9a31a4b8ecb5.tar.xz
apache2-c8ff5a8641a1c8e41b1ba8d7f4be9a31a4b8ecb5.zip
Setting SSLCipherSuite to EECDH+AESGCM:EDH+AESGCM.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/apache2.postinst2
-rw-r--r--debian/config-dir/conf-available/modern-ssl.conf5
2 files changed, 6 insertions, 1 deletions
diff --git a/debian/apache2.postinst b/debian/apache2.postinst
index 0b87a6b..8e70079 100644
--- a/debian/apache2.postinst
+++ b/debian/apache2.postinst
@@ -56,7 +56,7 @@ enable_default_conf()
if is_fresh_install $@ ; then
for conf in charset localized-error-pages other-vhosts-access-log \
security serve-cgi-bin \
- csp hsts modern-cookies ; do
+ csp hsts modern-cookies modern-ssl ; do
a2enconf -m -q $conf
done
fi
diff --git a/debian/config-dir/conf-available/modern-ssl.conf b/debian/config-dir/conf-available/modern-ssl.conf
new file mode 100644
index 0000000..42d6ab6
--- /dev/null
+++ b/debian/config-dir/conf-available/modern-ssl.conf
@@ -0,0 +1,5 @@
+# /etc/apache2/conf-available/modern-ssl.conf
+
+<IfModule mod_ssl.c>
+ SSLCipherSuite EECDH+AESGCM:EDH+AESGCM
+</IfModule>