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