summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:53 +0000
commit4df87b8dd0bfc95856aa68e0a2361ccfd8334d4f (patch)
tree7f8efc9e3ecf5d22802ae5ee98a8fc2aad5e270a
parentSetting additional Set-Cookie options HttpOnly;SameSite=Strict;Secure. (diff)
downloadapache2-4df87b8dd0bfc95856aa68e0a2361ccfd8334d4f.tar.xz
apache2-4df87b8dd0bfc95856aa68e0a2361ccfd8334d4f.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 47e5a61..3be300b 100644
--- a/debian/apache2.postinst
+++ b/debian/apache2.postinst
@@ -63,7 +63,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>