xref: /freebsd/crypto/openssl/test/proxy.cnf (revision 1edb7116f450c1a1793f2fd25f6bdc16735ef888)
1
2## Config file for proxy certificate testing.
3
4# Comment out the next line to ignore configuration errors
5config_diagnostics = 1
6
7[ req ]
8distinguished_name	= req_distinguished_name_p1
9encrypt_rsa_key		= no
10default_md		= sha256
11
12[ req_distinguished_name_p1 ]
13countryName			= Country Name (2 letter code)
14countryName_value		= AU
15organizationName                = Organization Name (eg, company)
16organizationName_value          = Dodgy Brothers
170.commonName			= Common Name (eg, YOUR name)
180.commonName_value		= Brother 1
191.commonName			= Common Name (eg, YOUR name)
201.commonName_value		= Brother 2
212.commonName			= Common Name (eg, YOUR name)
222.commonName_value		= Proxy 1
23
24[ proxy ]
25basicConstraints	= CA:FALSE
26subjectKeyIdentifier	= hash
27authorityKeyIdentifier	= keyid,issuer:always
28proxyCertInfo	= critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
29
30####################################################################
31
32[ proxy2_req ]
33distinguished_name	= req_distinguished_name_p2
34encrypt_rsa_key		= no
35default_md		= sha256
36
37[ req_distinguished_name_p2 ]
38countryName			= Country Name (2 letter code)
39countryName_value		= AU
40organizationName                = Organization Name (eg, company)
41organizationName_value          = Dodgy Brothers
420.commonName			= Common Name (eg, YOUR name)
430.commonName_value		= Brother 1
441.commonName			= Common Name (eg, YOUR name)
451.commonName_value		= Brother 2
462.commonName			= Common Name (eg, YOUR name)
472.commonName_value		= Proxy 1
483.commonName			= Common Name (eg, YOUR name)
493.commonName_value		= Proxy 2
50
51[ proxy_2 ]
52basicConstraints	= CA:FALSE
53subjectKeyIdentifier	= hash
54authorityKeyIdentifier	= keyid,issuer:always
55proxyCertInfo		= critical,@proxy_ext
56
57[ proxy_ext ]
58language	= id-ppl-anyLanguage
59pathlen		= 0
60policy		= text:BC
61