Merge ossl_provider_activate() and ossl_provider_activate_child()
[openssl.git] / test / proxy.cnf
1
2 ## Config file for proxy certificate testing.
3
4 [ req ]
5 distinguished_name      = req_distinguished_name_p1
6 encrypt_rsa_key         = no
7 default_md              = sha256
8
9 [ req_distinguished_name_p1 ]
10 countryName                     = Country Name (2 letter code)
11 countryName_value               = AU
12 organizationName                = Organization Name (eg, company)
13 organizationName_value          = Dodgy Brothers
14 0.commonName                    = Common Name (eg, YOUR name)
15 0.commonName_value              = Brother 1
16 1.commonName                    = Common Name (eg, YOUR name)
17 1.commonName_value              = Brother 2
18 2.commonName                    = Common Name (eg, YOUR name)
19 2.commonName_value              = Proxy 1
20
21 [ proxy ]
22 basicConstraints        = CA:FALSE
23 subjectKeyIdentifier    = hash
24 authorityKeyIdentifier  = keyid,issuer:always
25 proxyCertInfo   = critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
26
27 ####################################################################
28
29 [ proxy2_req ]
30 distinguished_name      = req_distinguished_name_p2
31 encrypt_rsa_key         = no
32 default_md              = sha256
33
34 [ req_distinguished_name_p2 ]
35 countryName                     = Country Name (2 letter code)
36 countryName_value               = AU
37 organizationName                = Organization Name (eg, company)
38 organizationName_value          = Dodgy Brothers
39 0.commonName                    = Common Name (eg, YOUR name)
40 0.commonName_value              = Brother 1
41 1.commonName                    = Common Name (eg, YOUR name)
42 1.commonName_value              = Brother 2
43 2.commonName                    = Common Name (eg, YOUR name)
44 2.commonName_value              = Proxy 1
45 3.commonName                    = Common Name (eg, YOUR name)
46 3.commonName_value              = Proxy 2
47
48 [ proxy_2 ]
49 basicConstraints        = CA:FALSE
50 subjectKeyIdentifier    = hash
51 authorityKeyIdentifier  = keyid,issuer:always
52 proxyCertInfo           = critical,@proxy_ext
53
54 [ proxy_ext ]
55 language        = id-ppl-anyLanguage
56 pathlen         = 0
57 policy          = text:BC