xref: /freebsd/crypto/openssl/test/proxy.cnf (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1*e0c4386eSCy Schubert
2*e0c4386eSCy Schubert## Config file for proxy certificate testing.
3*e0c4386eSCy Schubert
4*e0c4386eSCy Schubert# Comment out the next line to ignore configuration errors
5*e0c4386eSCy Schubertconfig_diagnostics = 1
6*e0c4386eSCy Schubert
7*e0c4386eSCy Schubert[ req ]
8*e0c4386eSCy Schubertdistinguished_name	= req_distinguished_name_p1
9*e0c4386eSCy Schubertencrypt_rsa_key		= no
10*e0c4386eSCy Schubertdefault_md		= sha256
11*e0c4386eSCy Schubert
12*e0c4386eSCy Schubert[ req_distinguished_name_p1 ]
13*e0c4386eSCy SchubertcountryName			= Country Name (2 letter code)
14*e0c4386eSCy SchubertcountryName_value		= AU
15*e0c4386eSCy SchubertorganizationName                = Organization Name (eg, company)
16*e0c4386eSCy SchubertorganizationName_value          = Dodgy Brothers
17*e0c4386eSCy Schubert0.commonName			= Common Name (eg, YOUR name)
18*e0c4386eSCy Schubert0.commonName_value		= Brother 1
19*e0c4386eSCy Schubert1.commonName			= Common Name (eg, YOUR name)
20*e0c4386eSCy Schubert1.commonName_value		= Brother 2
21*e0c4386eSCy Schubert2.commonName			= Common Name (eg, YOUR name)
22*e0c4386eSCy Schubert2.commonName_value		= Proxy 1
23*e0c4386eSCy Schubert
24*e0c4386eSCy Schubert[ proxy ]
25*e0c4386eSCy SchubertbasicConstraints	= CA:FALSE
26*e0c4386eSCy SchubertsubjectKeyIdentifier	= hash
27*e0c4386eSCy SchubertauthorityKeyIdentifier	= keyid,issuer:always
28*e0c4386eSCy SchubertproxyCertInfo	= critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
29*e0c4386eSCy Schubert
30*e0c4386eSCy Schubert####################################################################
31*e0c4386eSCy Schubert
32*e0c4386eSCy Schubert[ proxy2_req ]
33*e0c4386eSCy Schubertdistinguished_name	= req_distinguished_name_p2
34*e0c4386eSCy Schubertencrypt_rsa_key		= no
35*e0c4386eSCy Schubertdefault_md		= sha256
36*e0c4386eSCy Schubert
37*e0c4386eSCy Schubert[ req_distinguished_name_p2 ]
38*e0c4386eSCy SchubertcountryName			= Country Name (2 letter code)
39*e0c4386eSCy SchubertcountryName_value		= AU
40*e0c4386eSCy SchubertorganizationName                = Organization Name (eg, company)
41*e0c4386eSCy SchubertorganizationName_value          = Dodgy Brothers
42*e0c4386eSCy Schubert0.commonName			= Common Name (eg, YOUR name)
43*e0c4386eSCy Schubert0.commonName_value		= Brother 1
44*e0c4386eSCy Schubert1.commonName			= Common Name (eg, YOUR name)
45*e0c4386eSCy Schubert1.commonName_value		= Brother 2
46*e0c4386eSCy Schubert2.commonName			= Common Name (eg, YOUR name)
47*e0c4386eSCy Schubert2.commonName_value		= Proxy 1
48*e0c4386eSCy Schubert3.commonName			= Common Name (eg, YOUR name)
49*e0c4386eSCy Schubert3.commonName_value		= Proxy 2
50*e0c4386eSCy Schubert
51*e0c4386eSCy Schubert[ proxy_2 ]
52*e0c4386eSCy SchubertbasicConstraints	= CA:FALSE
53*e0c4386eSCy SchubertsubjectKeyIdentifier	= hash
54*e0c4386eSCy SchubertauthorityKeyIdentifier	= keyid,issuer:always
55*e0c4386eSCy SchubertproxyCertInfo		= critical,@proxy_ext
56*e0c4386eSCy Schubert
57*e0c4386eSCy Schubert[ proxy_ext ]
58*e0c4386eSCy Schubertlanguage	= id-ppl-anyLanguage
59*e0c4386eSCy Schubertpathlen		= 0
60*e0c4386eSCy Schubertpolicy		= text:BC
61