]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ssl/templates/default/ssl.cnf.erb
Don't try and restart passenger on machines that don't have it
[chef.git] / cookbooks / ssl / templates / default / ssl.cnf.erb
1 [req]
2 prompt = no
3 distinguished_name = req_dn
4 x509_extensions = v3_req
5
6 [req_dn]
7 organizationName = OpenStreetMap
8 commonName = <%= @domains.first %>
9 emailAddress = operations@osmfoundation.org
10
11 [v3_req]
12 basicConstraints = CA:FALSE
13 keyUsage = digitalSignature, keyEncipherment
14 extendedKeyUsage = serverAuth, clientAuth
15 subjectAltName = @alt_names
16
17 [alt_names]
18 <% @domains.each_with_index do |d, i| -%>
19 DNS.<%= i + 1 %> = <%= d %>
20 <% end -%>