Set Enveloped data version to 2 if ktri version not zero.
[openssl.git] / test / P2ss.cnf
1 #
2 # SSLeay example configuration file.
3 # This is mostly being used for generation of certificate requests.
4 #
5
6 RANDFILE                = ./.rnd
7
8 ####################################################################
9 [ req ]
10 default_bits            = 1024
11 default_keyfile         = keySS.pem
12 distinguished_name      = req_distinguished_name
13 encrypt_rsa_key         = no
14 default_md              = md2
15
16 [ req_distinguished_name ]
17 countryName                     = Country Name (2 letter code)
18 countryName_default             = AU
19 countryName_value               = AU
20
21 organizationName                = Organization Name (eg, company)
22 organizationName_value          = Dodgy Brothers
23
24 0.commonName                    = Common Name (eg, YOUR name)
25 0.commonName_value              = Brother 1
26
27 1.commonName                    = Common Name (eg, YOUR name)
28 1.commonName_value              = Brother 2
29
30 2.commonName                    = Common Name (eg, YOUR name)
31 2.commonName_value              = Proxy 1
32
33 3.commonName                    = Common Name (eg, YOUR name)
34 3.commonName_value              = Proxy 2
35
36 [ v3_proxy ]
37 basicConstraints=CA:FALSE
38 subjectKeyIdentifier=hash
39 authorityKeyIdentifier=keyid,issuer:always
40 proxyCertInfo=critical,@proxy_ext
41
42 [ proxy_ext ]
43 language=id-ppl-anyLanguage
44 pathlen=0
45 policy=text:BC