Skip to content

Commit

Permalink
Merge pull request #917 from igalic/poodle
Browse files Browse the repository at this point in the history
Poodle: make ssl_protocol better configurable
  • Loading branch information
igalic committed Oct 28, 2014
2 parents a31f00e + 2799c4e commit f774198
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ Installs Apache SSL capabilities and uses the ssl.conf.erb template. These are t
class { 'apache::mod::ssl':
ssl_compression => false,
ssl_options => [ 'StdEnvVars' ],
ssl_protocol => [ 'all', '-SSLv2', '-SSLv3'],
}
```

Expand Down
1 change: 1 addition & 0 deletions manifests/mod/ssl.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
$ssl_compression = false,
$ssl_options = [ 'StdEnvVars' ],
$ssl_cipher = 'HIGH:MEDIUM:!aNULL:!MD5',
$ssl_protocol = [ 'all', '-SSLv2', '-SSLv3' ],
$apache_version = $::apache::apache_version,
$package_name = undef,
) {
Expand Down
2 changes: 1 addition & 1 deletion templates/mod/ssl.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
SSLCryptoDevice builtin
SSLHonorCipherOrder On
SSLCipherSuite <%= @ssl_cipher %>
SSLProtocol all -SSLv2 -SSLv3
SSLProtocol <%= @ssl_protocol.compact.join(' ') %>
<% if @ssl_options -%>
SSLOptions <%= @ssl_options.compact.join(' ') %>
<% end -%>
Expand Down

0 comments on commit f774198

Please sign in to comment.