X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b3b90ac434a01ab3f6eec2fa0650d2a9d210eded..b5977d65e97f6fcfccddefedf619de4902e45d31:/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