Skip to content

Commit

Permalink
Remove the SSLv3 by default in the vhost resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
Derrick Dymock committed Oct 15, 2014
1 parent 6462208 commit c7b948a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions manifests/resource/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
# Support. This is not generated by this module.
# [*ssl_port*] - Default IP Port for NGINX to listen with this SSL
# vHost on. Defaults to TCP 443
# [*ssl_protocols*] - SSL protocols enabled. Defaults to 'SSLv3 TLSv1
# TLSv1.1 TLSv1.2'.
# [*ssl_protocols*] - SSL protocols enabled. Defaults to 'TLSv1 TLSv1.1
# TLSv1.2'.
# [*ssl_ciphers*] - SSL ciphers enabled. Defaults to
# 'HIGH:!aNULL:!MD5'.
# [*ssl_stapling*] - Bool: Enables or disables stapling of OCSP
Expand Down Expand Up @@ -165,7 +165,7 @@
$ssl_dhparam = undef,
$ssl_key = undef,
$ssl_port = '443',
$ssl_protocols = 'SSLv3 TLSv1 TLSv1.1 TLSv1.2',
$ssl_protocols = 'TLSv1 TLSv1.1 TLSv1.2',
$ssl_ciphers = 'HIGH:!aNULL:!MD5',
$ssl_cache = 'shared:SSL:10m',
$ssl_stapling = false,
Expand Down
4 changes: 2 additions & 2 deletions spec/defines/resource_vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@
{
:title => 'should set the SSL protocols',
:attr => 'ssl_protocols',
:value => 'SSLv3',
:match => %r'\s+ssl_protocols\s+SSLv3;',
:value => 'TLSv1',
:match => %r'\s+ssl_protocols\s+TLSv1;',
},
{
:title => 'should set the SSL ciphers',
Expand Down

0 comments on commit c7b948a

Please sign in to comment.