X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b44875cc22941c94de364788fa03b369d74902c9..4687a5bf9faa00f2ff3a14545cdd58a65a65ab8d:/cookbooks/ssl/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/ssl/recipes/default.rb b/cookbooks/ssl/recipes/default.rb index f5239e67b..33c9bcb14 100644 --- a/cookbooks/ssl/recipes/default.rb +++ b/cookbooks/ssl/recipes/default.rb @@ -22,11 +22,11 @@ keys = data_bag_item("ssl", "keys") package "openssl" package "ssl-cert" -%w(rapidssl startcom).each do |certificate| +%w(rapidssl startcom dhparam).each do |certificate| cookbook_file "/etc/ssl/certs/#{certificate}.pem" do owner "root" group "root" - mode 0444 + mode 0o444 backup false end end @@ -36,14 +36,14 @@ end cookbook_file "/etc/ssl/certs/#{certificate}.pem" do owner "root" group "root" - mode 0444 + mode 0o444 backup false end file "/etc/ssl/private/#{certificate}.key" do owner "root" group "ssl-cert" - mode 0440 + mode 0o440 content keys[certificate].join("\n") backup false end