diff options
author | Julien Vehent <julien@linuxwall.info> | 2015-11-02 08:02:03 -0500 |
---|---|---|
committer | Julien Vehent <julien@linuxwall.info> | 2015-11-02 08:02:03 -0500 |
commit | b51234ade0ab6f747ce12f9ea219376c5d1225cc (patch) | |
tree | c7c9aeb4ca9007d0f19016566d8b96f0d6d3da8a | |
parent | ef3ea77b3b712dd3158e2e26a5044ea0dbe7bb6d (diff) | |
parent | 168bcd7021f83474f77f894888a06d5870732cee (diff) | |
download | server-side-tls-b51234ade0ab6f747ce12f9ea219376c5d1225cc.zip server-side-tls-b51234ade0ab6f747ce12f9ea219376c5d1225cc.tar.gz server-side-tls-b51234ade0ab6f747ce12f9ea219376c5d1225cc.tar.bz2 |
Merge pull request #80 from meineerde/patch-2
Disable TLS tickets by default
-rw-r--r-- | ssl-config-generator/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl-config-generator/index.html b/ssl-config-generator/index.html index cfbd8e0..9752fb3 100644 --- a/ssl-config-generator/index.html +++ b/ssl-config-generator/index.html @@ -54,6 +54,7 @@ server { ssl_certificate_key /path/to/private_key; ssl_session_timeout 1d; ssl_session_cache shared:SSL:50m; + ssl_session_tickets off; {{dhparam}} # {{securityProfile}} configuration. tweak to your needs. @@ -85,6 +86,7 @@ server { SSLProtocol {{sslProtocols}} SSLCipherSuite {{cipherSuites}} SSLHonorCipherOrder on +{{sslSessionTickets}} {{compression}} {{ocspStapling}} {{hsts}} @@ -103,6 +105,7 @@ global # set default parameters to the {{securityProfile}} configuration tune.ssl.default-dh-param {{maxDHKeySize}} ssl-default-bind-ciphers {{cipherSuites}} + ssl-default-bind-options no-tls-tickets frontend ft_test mode http @@ -308,6 +311,9 @@ frontend ft_test data.ocspStaplingCache = 'SSLStaplingCache shmcb:/var/run/ocsp(128000)' + '\n'; } + if (isOpenSSLSemVer(data.opensslVersion, ">=0.9.8f") && isSemVer(data.serverVersion, '>=2.2.30')) { + data.sslSessionTickets = ' SSLSessionTickets off' + } if (isSemVer(data.serverVersion, '>=2.4.8')) { data.certFile = ' SSLCertificateFile /path/to/signed_certificate_followed_by_intermediate_certs'; } else { |