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