Debian Codegraph @

install/share/openssl_cnf.template

raw
1 [req]
2 distinguished_name = req_distinguished_name
3 attributes = req_attrs
4 req_extensions = req_ext
5 prompt = no
6
7 [req_distinguished_name]
8 O = ${REALM}
9 CN = ${FQDN}
10
11 [req_attrs]
12 friendlyName = ASN1:BMPString:${NICKNAME}
13
14 [req_ext]
15 subjectAltName = @alt_names
16 basicConstraints = critical, CA:false
17 subjectKeyIdentifier = hash
18 1.3.6.1.4.1.311.20.2 = ASN1:BMPString:${PROFILE}
19
20 [alt_names]
21 # The fully-qualified name SAN
22 DNS.1 = ${FQDN}
23 # An optional SAN, ipa-ca for the HTTP cert is an example. Optional.
24 ${DNS_2}
25 # The Kerberos principal of the certificate
26 otherName.1 = 1.3.6.1.4.1.311.20.2.3;UTF8:${SERVICE}/${PRINCIPAL}@${REALM}
27 # Used for the id-pkinit-san for the pkinit certificate.
28 ${OTHERNAME_2}
29
30 [princ_name]
31 realm=EXP:0,GeneralString:${REALM}
32 principal_name=EXP:1,SEQUENCE:principal_seq
33
34 [principal_seq]
35 name_type=EXP:0,INTEGER:2
36 name_string=EXP:1,SEQUENCE:principals
37
38 [principals]
39 princ1=GeneralString:${SERVICE}
40 princ2=GeneralString:${REALM}