Debian Codegraph @

lib/hx509/data/openssl.1.1.cnf

raw
1 [ca]
2
3 default_ca = user
4
5 [usr]
6 database = index.txt
7 serial = serial
8 x509_extensions = usr_cert
9 default_md=sha1
10 policy = policy_match
11 email_in_dn = no
12 certs = .
13
14 [ocsp]
15 database = index.txt
16 serial = serial
17 x509_extensions = ocsp_cert
18 default_md=sha1
19 policy = policy_match
20 email_in_dn = no
21 certs = .
22
23 [usr_ke]
24 database = index.txt
25 serial = serial
26 x509_extensions = usr_cert_ke
27 default_md=sha1
28 policy = policy_match
29 email_in_dn = no
30 certs = .
31
32 [usr_ds]
33 database = index.txt
34 serial = serial
35 x509_extensions = usr_cert_ds
36 default_md=sha1
37 policy = policy_match
38 email_in_dn = no
39 certs = .
40
41 [pkinit_client]
42 database = index.txt
43 serial = serial
44 x509_extensions = pkinit_client_cert
45 default_md=sha1
46 policy = policy_match
47 email_in_dn = no
48 certs = .
49
50 [pkinit_kdc]
51 database = index.txt
52 serial = serial
53 x509_extensions = pkinit_kdc_cert
54 default_md=sha1
55 policy = policy_match
56 email_in_dn = no
57 certs = .
58
59 [https]
60 database = index.txt
61 serial = serial
62 x509_extensions = https_cert
63 default_md=sha1
64 policy = policy_match
65 email_in_dn = no
66 certs = .
67
68 [subca]
69 database = index.txt
70 serial = serial
71 x509_extensions = v3_ca
72 default_md=sha1
73 policy = policy_match
74 email_in_dn = no
75 certs = .
76
77
78 [req]
79 distinguished_name = req_distinguished_name
80 x509_extensions = v3_ca # The extensions to add to the self signed cert
81
82 string_mask = utf8only
83
84 [v3_ca]
85
86 subjectKeyIdentifier=hash
87 authorityKeyIdentifier=keyid:always,issuer:always
88 basicConstraints = CA:true
89 keyUsage = cRLSign, keyCertSign, keyEncipherment, nonRepudiation, digitalSignature
90
91 [usr_cert]
92 basicConstraints=CA:FALSE
93 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
94 subjectKeyIdentifier = hash
95
96 [usr_cert_ke]
97 basicConstraints=CA:FALSE
98 keyUsage = nonRepudiation, keyEncipherment
99 subjectKeyIdentifier = hash
100
101 [proxy_cert]
102 basicConstraints=CA:FALSE
103 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
104 subjectKeyIdentifier = hash
105 proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:0,policy:text:foo
106
107 [pkinitc_principals]
108 princ1 = GeneralString:bar
109
110 [pkinitc_principal_seq]
111 name_type = EXP:0,INTEGER:1
112 name_string = EXP:1,SEQUENCE:pkinitc_principals
113
114 [pkinitc_princ_name]
115 realm = EXP:0,GeneralString:TEST.H5L.SE
116 principal_name = EXP:1,SEQUENCE:pkinitc_principal_seq
117
118 [pkinit_client_cert]
119 basicConstraints=CA:FALSE
120 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
121 subjectKeyIdentifier = hash
122 subjectAltName=otherName:1.3.6.1.5.2.2;SEQUENCE:pkinitc_princ_name
123
124 [https_cert]
125 basicConstraints=CA:FALSE
126 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
127 #extendedKeyUsage = https-server XXX
128 subjectKeyIdentifier = hash
129
130 [pkinit_kdc_cert]
131 basicConstraints=CA:FALSE
132 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
133 extendedKeyUsage = 1.3.6.1.5.2.3.5
134 subjectKeyIdentifier = hash
135 subjectAltName=otherName:1.3.6.1.5.2.2;SEQUENCE:pkinitkdc_princ_name
136
137 [pkinitkdc_princ_name]
138 realm = EXP:0,GeneralString:TEST.H5L.SE
139 principal_name = EXP:1,SEQUENCE:pkinitkdc_principal_seq
140
141 [pkinitkdc_principal_seq]
142 name_type = EXP:0,INTEGER:1
143 name_string = EXP:1,SEQUENCE:pkinitkdc_principals
144
145 [pkinitkdc_principals]
146 princ1 = GeneralString:krbtgt
147 princ2 = GeneralString:TEST.H5L.SE
148
149 [proxy10_cert]
150 basicConstraints=CA:FALSE
151 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
152 subjectKeyIdentifier = hash
153 proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:10,policy:text:foo
154
155 [usr_cert_ds]
156 basicConstraints=CA:FALSE
157 keyUsage = nonRepudiation, digitalSignature
158 subjectKeyIdentifier = hash
159
160 [ocsp_cert]
161 basicConstraints=CA:FALSE
162 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
163 # ocsp-nocheck and kp-OCSPSigning
164 extendedKeyUsage = 1.3.6.1.5.5.7.48.1.5, 1.3.6.1.5.5.7.3.9
165 subjectKeyIdentifier = hash
166
167 [req_distinguished_name]
168 countryName = Country Name (2 letter code)
169 countryName_default = SE
170 countryName_min = 2
171 countryName_max = 2
172
173 organizationalName = Organizational Unit Name (eg, section)
174
175 commonName = Common Name (eg, YOUR name)
176 commonName_max = 64
177
178 #[req_attributes]
179 #challengePassword = A challenge password
180 #challengePassword_min = 4
181 #challengePassword_max = 20
182
183 [policy_match]
184 countryName = match
185 commonName = supplied