Skip to content

Commit 7c9cb85

Browse files
committed
Update apache2.4 for forward secrecy/no compression
Adds forward secrecy and disables SSL/TLS compression which is potentially exploitable.
1 parent ec5e905 commit 7c9cb85

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web-server/apache/gitlab-ssl-apache2.4.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
SSLEngine on
2323
#strong encryption ciphers only
2424
#see ciphers(1) http://www.openssl.org/docs/apps/ciphers.html
25-
SSLCipherSuite SSLv3:TLSv1:+HIGH:!SSLv2:!MD5:!MEDIUM:!LOW:!EXP:!ADH:!eNULL:!aNULL
25+
SSLProtocol all -SSLv2
26+
SSLHonorCipherOrder on
27+
SSLCipherSuite "ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS"
28+
Header add Strict-Transport-Security: "max-age=15768000;includeSubdomains"
29+
SSLCompression Off
2630
SSLCertificateFile /etc/httpd/ssl.crt/gitlab.example.com.crt
2731
SSLCertificateKeyFile /etc/httpd/ssl.key/gitlab.example.com.key
2832
SSLCACertificateFile /etc/httpd/ssl.crt/your-ca.crt

0 commit comments

Comments
 (0)