xref: /netbsd-src/crypto/external/bsd/openssl/dist/test/proxy.cnf (revision b0d1725196a7921d003d2c66a14f186abda4176b)
1*b0d17251Schristos
2*b0d17251Schristos## Config file for proxy certificate testing.
3*b0d17251Schristos
4*b0d17251Schristos# Comment out the next line to ignore configuration errors
5*b0d17251Schristosconfig_diagnostics = 1
6*b0d17251Schristos
7*b0d17251Schristos[ req ]
8*b0d17251Schristosdistinguished_name	= req_distinguished_name_p1
9*b0d17251Schristosencrypt_rsa_key		= no
10*b0d17251Schristosdefault_md		= sha256
11*b0d17251Schristos
12*b0d17251Schristos[ req_distinguished_name_p1 ]
13*b0d17251SchristoscountryName			= Country Name (2 letter code)
14*b0d17251SchristoscountryName_value		= AU
15*b0d17251SchristosorganizationName                = Organization Name (eg, company)
16*b0d17251SchristosorganizationName_value          = Dodgy Brothers
17*b0d17251Schristos0.commonName			= Common Name (eg, YOUR name)
18*b0d17251Schristos0.commonName_value		= Brother 1
19*b0d17251Schristos1.commonName			= Common Name (eg, YOUR name)
20*b0d17251Schristos1.commonName_value		= Brother 2
21*b0d17251Schristos2.commonName			= Common Name (eg, YOUR name)
22*b0d17251Schristos2.commonName_value		= Proxy 1
23*b0d17251Schristos
24*b0d17251Schristos[ proxy ]
25*b0d17251SchristosbasicConstraints	= CA:FALSE
26*b0d17251SchristossubjectKeyIdentifier	= hash
27*b0d17251SchristosauthorityKeyIdentifier	= keyid,issuer:always
28*b0d17251SchristosproxyCertInfo	= critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
29*b0d17251Schristos
30*b0d17251Schristos####################################################################
31*b0d17251Schristos
32*b0d17251Schristos[ proxy2_req ]
33*b0d17251Schristosdistinguished_name	= req_distinguished_name_p2
34*b0d17251Schristosencrypt_rsa_key		= no
35*b0d17251Schristosdefault_md		= sha256
36*b0d17251Schristos
37*b0d17251Schristos[ req_distinguished_name_p2 ]
38*b0d17251SchristoscountryName			= Country Name (2 letter code)
39*b0d17251SchristoscountryName_value		= AU
40*b0d17251SchristosorganizationName                = Organization Name (eg, company)
41*b0d17251SchristosorganizationName_value          = Dodgy Brothers
42*b0d17251Schristos0.commonName			= Common Name (eg, YOUR name)
43*b0d17251Schristos0.commonName_value		= Brother 1
44*b0d17251Schristos1.commonName			= Common Name (eg, YOUR name)
45*b0d17251Schristos1.commonName_value		= Brother 2
46*b0d17251Schristos2.commonName			= Common Name (eg, YOUR name)
47*b0d17251Schristos2.commonName_value		= Proxy 1
48*b0d17251Schristos3.commonName			= Common Name (eg, YOUR name)
49*b0d17251Schristos3.commonName_value		= Proxy 2
50*b0d17251Schristos
51*b0d17251Schristos[ proxy_2 ]
52*b0d17251SchristosbasicConstraints	= CA:FALSE
53*b0d17251SchristossubjectKeyIdentifier	= hash
54*b0d17251SchristosauthorityKeyIdentifier	= keyid,issuer:always
55*b0d17251SchristosproxyCertInfo		= critical,@proxy_ext
56*b0d17251Schristos
57*b0d17251Schristos[ proxy_ext ]
58*b0d17251Schristoslanguage	= id-ppl-anyLanguage
59*b0d17251Schristospathlen		= 0
60*b0d17251Schristospolicy		= text:BC
61