From f3c2859a5f5b9d2cc3622bc7efb2683296adb079 Mon Sep 17 00:00:00 2001 From: CSoellinger Date: Tue, 26 Apr 2016 07:12:32 +0200 Subject: [PATCH] Updating SSL options at ispconfig vhost based on the mozilla ssl configuration generator https://mozilla.github.io/server-side-tls/ssl-config-generator/ --- install/tpl/apache_ispconfig.vhost.master | 62 +++++++++++++---------- 1 file changed, 35 insertions(+), 27 deletions(-) diff --git a/install/tpl/apache_ispconfig.vhost.master b/install/tpl/apache_ispconfig.vhost.master index e7a2eaaee3..748895c29f 100644 --- a/install/tpl/apache_ispconfig.vhost.master +++ b/install/tpl/apache_ispconfig.vhost.master @@ -1,4 +1,3 @@ - ###################################################### # This virtual host contains the configuration # for the ISPConfig controlpanel @@ -20,36 +19,36 @@ NameVirtualHost *: Options -Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo - - SetHandler fcgid-script - + + SetHandler fcgid-script + FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php - Require all granted - + Require all granted + Order allow,deny Allow from all - + IPCCommTimeout 7200 - MaxRequestLen 15728640 + MaxRequestLen 15728640 DocumentRoot /usr/local/ispconfig/interface/web/ - AssignUserId ispconfig ispconfig + AssignUserId ispconfig ispconfig AddType application/x-httpd-php .php # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp" Options +FollowSymLinks AllowOverride None - Require all granted - + Require all granted + Order allow,deny Allow from all - - php_value magic_quotes_gpc 0 + + php_value magic_quotes_gpc 0 @@ -63,26 +62,36 @@ NameVirtualHost *: # SSL Configuration SSLEngine On + + SSLProtocol All -SSLv3 + SSLProtocol All -SSLv2 -SSLv3 + SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle - SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:E$ + SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS SSLHonorCipherOrder On + + SSLCompression Off + + + SSLSessionTickets Off + Header always add Strict-Transport-Security "max-age=15768000" - - SSLUseStapling on + + SSLUseStapling On SSLStaplingResponderTimeout 5 - SSLStaplingReturnResponderErrors off - + SSLStaplingReturnResponderErrors Off + - + SSLStaplingCache shmcb:/var/run/ocsp(128000) @@ -90,21 +99,20 @@ NameVirtualHost *: AllowOverride None - - Require all denied - + + Require all denied + Order Deny,Allow Deny from all - + AllowOverride None - Require all denied - + Require all denied + Order Deny,Allow Deny from all - + - -- GitLab