summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:10 +0000
commitfeaac4bba7721c495d898d675a0cf63b47fb7b9f (patch)
treea48e5b44848d2b7cdd070887c8ce1407321ce757
parentSetting additional Set-Cookie options HttpOnly;SameSite=Strict;Secure. (diff)
downloadapache2-feaac4bba7721c495d898d675a0cf63b47fb7b9f.tar.xz
apache2-feaac4bba7721c495d898d675a0cf63b47fb7b9f.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>