Skip to content

Commit 6e8b242

Browse files
author
Sebastian Gumprich
committed
add support for tls1.3 protocol
Signed-off-by: Sebastian Gumprich <[email protected]>
1 parent d7bc1e6 commit 6e8b242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: controls/nginx_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
desc 'When choosing a cipher during an SSLv3 or TLSv1 handshake, normally the client\'s preference is used. If this directive is enabled, the server\'s preference will be used instead.'
232232
ref 'SSL Hardening config', url: 'https://mozilla.github.io/server-side-tls/ssl-config-generator/'
233233
describe parse_config(nginx_parsed_config, options) do
234-
its('ssl_protocols') { should eq 'TLSv1.2' }
234+
its('ssl_protocols') { should be_in ['TLSv1.3', 'TLSv1.2', 'TLSv1.2 TLSv1.3', 'TLSv1.3 TLSv1.2'] }
235235
its('ssl_session_tickets') { should eq 'off' }
236236
its('ssl_ciphers') { should eq '\'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256\'' }
237237
its('ssl_prefer_server_ciphers') { should eq 'on' }

0 commit comments

Comments
 (0)