diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-29 12:55:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-29 12:55:18 -0300 |
commit | 555165260769dc7e0963658ab1a7725a6e0a4529 (patch) | |
tree | 7c658b405b2f1e78767933ba86aa226abe810bc7 | |
parent | 86a76a9bebafd0f028b057d35a705f946a18eae6 (diff) | |
download | puppet-nginx-555165260769dc7e0963658ab1a7725a6e0a4529.tar.gz puppet-nginx-555165260769dc7e0963658ab1a7725a6e0a4529.tar.bz2 |
Updates ssl_ciphers as recommended by SSL Labs
-rw-r--r-- | manifests/ssl.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/ssl.pp b/manifests/ssl.pp index 4b6547a..0f506f3 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -23,7 +23,9 @@ class nginx::ssl( # SSL 'ssl_session_timeout': value => "ssl_session_timeout ${session_timeout};"; 'ssl_protocols': value => 'ssl_protocols TLSv1 TLSv1.1 TLSv1.2;'; - 'ssl_ciphers': value => 'ssl_ciphers ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA;'; + #'ssl_ciphers': value => 'ssl_ciphers ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA;'; + # See https://github.com/ssllabs/research/wiki/SSL-and-TLS-Deployment-Best-Practices#23-use-secure-cipher-suites + 'ssl_ciphers': value => 'ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256;'; 'ssl_dhparam': value => 'ssl_dhparam /etc/ssl/dhparams/dhparams_2048.pem;'; } |