X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/388687b7120815bc61f49de6c5dd0ea793dad67b..52828e58aaa9b6de4231e34f769003a979e36817:/cookbooks/ssl/resources/certificate.rb diff --git a/cookbooks/ssl/resources/certificate.rb b/cookbooks/ssl/resources/certificate.rb index 7348a6726..bc34ac7b7 100644 --- a/cookbooks/ssl/resources/certificate.rb +++ b/cookbooks/ssl/resources/certificate.rb @@ -64,8 +64,8 @@ action :create do email "operations@osmfoundation.org" common_name new_resource.domains.first subject_alt_name alt_names - extensions "keyUsage" => { "values" => %w[digitalSignature keyEncipherment] }, - "extendedKeyUsage" => { "values" => %w[serverAuth clientAuth] } + extensions "keyUsage" => { "values" => %w[digitalSignature keyEncipherment], "critical" => true }, + "extendedKeyUsage" => { "values" => %w[serverAuth clientAuth], "critical" => true } end end end